Make it possible to pass quoted strings to clazy
ClosedPublic

Authored by kfunk on Apr 7 2017, 7:19 PM.

Details

Summary

Otherwise we may end up with:

[2/3] Building CXX object 'debuggers/lldb/unittests/debugees/path with
space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o'
FAILED: debuggers/lldb/unittests/debugees/path with
space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o
/home/kfunk/devel/install/master/bin/clazy ...
-fPIC -MD -MT 'debuggers/lldb/unittests/debugees/path with
space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o' -MF
debuggers/lldb/unittests/debugees/path\ with\
space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o.d -o
'debuggers/lldb/unittests/debugees/path with
space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o' -c
"/home/kfunk/devel/src/kf5/kdevelop/debuggers/lldb/unittests/debugees/path
with space/spacedebugee.cpp"
clang: error: no such file or directory: 'with'
clang: error: no such file or directory: 'space'
clang: error: no such file or directory: 'with'
clang: error: no such file or directory: 'space'
clang: error: no such file or directory: 'with'
clang: error: no such file or directory:
'space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o'
clang: error: no such file or directory: 'with'
clang: error: no such file or directory:
'space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o.d'
clang: error: no such file or directory: 'with'
clang: error: no such file or directory:
'space/CMakeFiles/lldb_spacedebugee.dir/spacedebugee.cpp.o'
clang: error: no such file or directory:
'/home/kfunk/devel/src/kf5/kdevelop/debuggers/lldb/unittests/debugees/path'
clang: error: no such file or directory: 'with'
clang: error: no such file or directory: 'space/spacedebugee.cpp'
clang: error: no input files
ninja: build stopped: subcommand failed.

Diff Detail

Repository
R74 Clazy
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk created this revision.Apr 7 2017, 7:19 PM
kfunk abandoned this revision.Apr 7 2017, 7:20 PM
kfunk reclaimed this revision.
kfunk added a reviewer: smartins.
smartins accepted this revision.Apr 8 2017, 11:16 PM

-> branch 1.1

thanks

This revision is now accepted and ready to land.Apr 8 2017, 11:16 PM
This revision was automatically updated to reflect the committed changes.