Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: tools/clang/plugins/tests/test.sh

Issue 1504033010: Follow macro invocations when checking if a violation happened in a .cc file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Check every file in the macro instantiation chain. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/plugins/tests/test.sh
diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/plugins/tests/test.sh
index 61bee99f82f229c44a58696e0c9537450ec11a81..b096d1cdbdf58dddd1597bcbee487de125ea7f5a 100755
--- a/tools/clang/plugins/tests/test.sh
+++ b/tools/clang/plugins/tests/test.sh
@@ -41,6 +41,8 @@ do_testcase() {
flags="${flags} -Xclang -plugin-arg-find-bad-constructs \
-Xclang with-ast-visitor"
+ flags="${flags} -Xclang -plugin-arg-find-bad-constructs \
+ -Xclang follow-macro-expansion"
local output="$("${CLANG_PATH}" -fsyntax-only -Wno-c++11-extensions \
-Wno-inconsistent-missing-override \
« tools/clang/plugins/tests/inline_ctor.h ('K') | « tools/clang/plugins/tests/inline_ctor.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698