diff options
Diffstat (limited to 'compilerplugins/clang/unusedfields.cxx')
-rw-r--r-- | compilerplugins/clang/unusedfields.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx index d87c40e92a17..f7d76103e4e8 100644 --- a/compilerplugins/clang/unusedfields.cxx +++ b/compilerplugins/clang/unusedfields.cxx @@ -180,7 +180,7 @@ bool UnusedFields::VisitFieldDecl( const FieldDecl* fieldDecl ) // unwrap array types while (type->isArrayType()) type = type->getAsArrayTypeUnsafe()->getElementType(); - +/* if( CXXRecordDecl* recordDecl = type->getAsCXXRecordDecl() ) { bool warn_unused = recordDecl->hasAttr<WarnUnusedAttr>(); @@ -196,7 +196,7 @@ bool UnusedFields::VisitFieldDecl( const FieldDecl* fieldDecl ) if (!warn_unused) return true; } - +*/ definitionSet.insert(niceName(canonicalDecl)); return true; } |