| Index: tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| diff --git a/tools/clang/plugins/FindBadConstructsConsumer.cpp b/tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| index 0cb0a08820437fa3ca8cb68a59f892e681f107c6..0fd85b18453d4e3f9dce607419cca694575c532f 100644
|
| --- a/tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| +++ b/tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| @@ -217,13 +217,6 @@ bool FindBadConstructsConsumer::VisitVarDecl(clang::VarDecl* var_decl) {
|
|
|
| void FindBadConstructsConsumer::CheckChromeClass(SourceLocation record_location,
|
| CXXRecordDecl* record) {
|
| - // By default, the clang checker doesn't check some types (templates, etc).
|
| - // 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))
|
| - return;
|
| -
|
| bool implementation_file = InImplementationFile(record_location);
|
|
|
| if (!implementation_file) {
|
|
|