Index: tools/clang/plugins/ChromeClassTester.cpp |
diff --git a/tools/clang/plugins/ChromeClassTester.cpp b/tools/clang/plugins/ChromeClassTester.cpp |
index 7e366535017dfcc981444dede9bf36022a6eba25..9cbc84a4e2691ccc4c64a94d10931b1463bcb1c3 100644 |
--- a/tools/clang/plugins/ChromeClassTester.cpp |
+++ b/tools/clang/plugins/ChromeClassTester.cpp |
@@ -62,15 +62,6 @@ void ChromeClassTester::CheckTag(TagDecl* tag) { |
// information instead of just parsing information. |
if (CXXRecordDecl* record = dyn_cast<CXXRecordDecl>(tag)) { |
- // If this is a POD or a class template or a type dependent on a |
- // templated class, assume there's no ctor/dtor/virtual method |
- // optimization that we can do. |
- if (record->isPOD() || |
- record->getDescribedClassTemplate() || |
- record->getTemplateSpecializationKind() || |
- record->isDependentType()) |
- return; |
- |
if (InBannedNamespace(record)) |
return; |