mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-10 02:19:10 -05:00
Merge topic 'update-cpplint'
bfcc2034 Update cpplint support to return 0 and mark warnings for CDash.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1544
This commit is contained in:
@@ -270,10 +270,12 @@ static int HandleCppLint(const std::string& runCmd,
|
||||
<< "\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
std::cerr << "Warning: cpplint diagnostics:\n";
|
||||
// Output the output from cpplint to stderr
|
||||
std::cerr << stdOut;
|
||||
return ret;
|
||||
// always return 0 so the build can continue as cpplint returns non-zero
|
||||
// for any warning
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int HandleCppCheck(const std::string& runCmd,
|
||||
|
||||
@@ -1 +1 @@
|
||||
[^0]
|
||||
0
|
||||
|
||||
@@ -1 +1 @@
|
||||
[^0]
|
||||
0
|
||||
|
||||
@@ -1 +1 @@
|
||||
[^0]
|
||||
0
|
||||
|
||||
@@ -1 +1 @@
|
||||
[^0]
|
||||
0
|
||||
|
||||
Reference in New Issue
Block a user