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

Unified Diff: tools/clang/plugins/FindBadConstructsConsumer.cpp

Issue 2267713003: clang plugin: Remove check-templates toggle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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
« no previous file with comments | « tools/clang/plugins/FindBadConstructsAction.cpp ('k') | tools/clang/plugins/Options.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/plugins/FindBadConstructsConsumer.cpp
diff --git a/tools/clang/plugins/FindBadConstructsConsumer.cpp b/tools/clang/plugins/FindBadConstructsConsumer.cpp
index 0cb0a08820437fa3ca8cb68a59f892e681f107c6..8cbb94f6a00efb902cdb69ff9a9677ac8953f292 100644
--- a/tools/clang/plugins/FindBadConstructsConsumer.cpp
+++ b/tools/clang/plugins/FindBadConstructsConsumer.cpp
@@ -221,7 +221,7 @@ void FindBadConstructsConsumer::CheckChromeClass(SourceLocation record_location,
// That was only a mistake; once Chromium code passes these checks, we should
// remove the "check-templates" option and remove this code.
// See crbug.com/441916
- if (!options_.check_templates && IsPodOrTemplateType(*record))
hans 2016/08/24 23:33:19 Wait, if options_.check_templates is always true,
+ if (IsPodOrTemplateType(*record))
return;
bool implementation_file = InImplementationFile(record_location);
« no previous file with comments | « tools/clang/plugins/FindBadConstructsAction.cpp ('k') | tools/clang/plugins/Options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698