cppcheck: pass "-i" & path as separate argument items, not as single string
ClosedPublic

Authored by kossebau on Aug 7 2018, 4:17 PM.

Details

Summary

Passing "-i /some/path/CMakeFiles" as single string with the args for the
cppcheck invocation results in the string being passed quoted due to the
space inside, '-i /some/path/CMakeFiles'. Seems this still results in the
wanted processing, but it looks strange in the console log.

Test Plan

cppcheck still works as before and skips the CMakeFiles subfolder.

Diff Detail

Repository
R32 KDevelop
Branch
fixcppCMakeFilesarg
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1596
Build 1614: arc lint + arc unit
kossebau created this revision.Aug 7 2018, 4:17 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptAug 7 2018, 4:17 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
kossebau requested review of this revision.Aug 7 2018, 4:17 PM
apol accepted this revision.Aug 7 2018, 5:15 PM
This revision is now accepted and ready to land.Aug 7 2018, 5:15 PM
This revision was automatically updated to reflect the committed changes.