|
Clang style plugin: add warn-only option and use it on Windows
This will allow us to flip a flag to enable warnings-as-errors once
the Windows code is cleaned up enough without building a new plugin
binary.
Also, try not to compute the diagnostic level in multiple places.
BUG= 467287, 483065
Committed: https://crrev.com/a7ae971275f2aa0a7a6501c72b571939c44baa2b
Cr-Commit-Position: refs/heads/master@{#327852}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -37 lines) |
Patch |
|
M |
build/common.gypi
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
build/config/clang/BUILD.gn
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/clang/plugins/ChromeClassTester.h
|
View
|
|
4 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/clang/plugins/ChromeClassTester.cpp
|
View
|
|
4 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
|
M |
tools/clang/plugins/FindBadConstructsAction.cpp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
2 comments
|
Download
|
|
M |
tools/clang/plugins/FindBadConstructsConsumer.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/clang/plugins/FindBadConstructsConsumer.cpp
|
View
|
|
2 chunks |
+1 line, -14 lines |
0 comments
|
Download
|
|
M |
tools/clang/plugins/Options.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A |
tools/clang/plugins/tests/warn_only.h
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A + |
tools/clang/plugins/tests/warn_only.cpp
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
|
A |
tools/clang/plugins/tests/warn_only.flags
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
tools/clang/plugins/tests/warn_only.txt
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (2 generated)
|