loplugin:singlevalfields in l10ntools..sax
and ignore URE headers in the plugin Change-Id: I939df744c1173cf0f67d515f6c3fb4ac4cb25588
This commit is contained in:
@@ -123,7 +123,9 @@ bool SingleValFields::VisitFieldDecl( const FieldDecl* fieldDecl )
|
||||
fieldDecl = fieldDecl->getCanonicalDecl();
|
||||
const FieldDecl* canonicalDecl = fieldDecl;
|
||||
|
||||
if( ignoreLocation( fieldDecl ) || !isInterestingType(fieldDecl->getType()) )
|
||||
if( ignoreLocation( fieldDecl )
|
||||
|| isInUnoIncludeFile( compiler.getSourceManager().getSpellingLoc(fieldDecl->getLocation()))
|
||||
|| !isInterestingType(fieldDecl->getType()) )
|
||||
return true;
|
||||
|
||||
MyFieldInfo aInfo;
|
||||
|
Reference in New Issue
Block a user