loplugin:externvar (clang-cl)

Change-Id: I81877e46cf95dcc7de16b797fca33658036bf9e8
This commit is contained in:
Stephan Bergmann
2017-01-11 13:41:01 +01:00
parent 698bdcdb0c
commit a9d06182f8
9 changed files with 17 additions and 13 deletions

View File

@@ -73,6 +73,9 @@ public:
// not needed and will not be emitted"
return true;
}
if (loplugin::DeclCheck(def).Var("_pRawDllMain").GlobalNamespace()) {
return true;
}
SourceLocation argLoc;
if (compat::isMacroArgExpansion(compiler, def->getLocation(), &argLoc)
&& (Lexer::getImmediateMacroName(