Diffusion Clazy 3eea2e0a3c4b

Make it possible to pass quoted strings to clazy

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

Description

Make it possible to pass quoted strings to clazy

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.

Reviewers: smartins

Reviewed By: smartins

Differential Revision: https://phabricator.kde.org/D5340

Details

Committed
kfunkApr 9 2017, 9:43 AM
Reviewer
smartins
Differential Revision
D5340: Make it possible to pass quoted strings to clazy
Parents
R74:0685cc4d3c12: Setup {DY,}LD_LIBRARY_PATH in clazy shell script
Branches
Unknown
Tags
Unknown