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

Unified Diff: tools/clang/plugins/Options.h

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/Options.h
diff --git a/tools/clang/plugins/Options.h b/tools/clang/plugins/Options.h
index 1538298246a7901d38f449305bdfc08d9cbb5e9c..186c1e39c6845ac9be2004d783a749c5fa67393c 100644
--- a/tools/clang/plugins/Options.h
+++ b/tools/clang/plugins/Options.h
@@ -20,6 +20,7 @@ struct Options {
bool check_enum_last_value;
bool with_ast_visitor;
bool check_templates;
+ bool follow_macro_expansion = false;
};
} // namespace chrome_checker

Powered by Google App Engine
This is Rietveld 408576698