diff options
Diffstat (limited to 'compilerplugins/clang/staticmethods.cxx')
-rw-r--r-- | compilerplugins/clang/staticmethods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx index b5b2a9d79d80..b3f1b587cd29 100644 --- a/compilerplugins/clang/staticmethods.cxx +++ b/compilerplugins/clang/staticmethods.cxx @@ -84,7 +84,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl) // leave these alone for now, it is possible to fix them, but I don't understand how SourceLocation canonicalLoc = pCXXMethodDecl->getCanonicalDecl()->getLocStart(); - if (isMacroBodyExpansion(compiler, canonicalLoc) ) { + if (compat::isMacroBodyExpansion(compiler, canonicalLoc) ) { StringRef name { Lexer::getImmediateMacroName( canonicalLoc, compiler.getSourceManager(), compiler.getLangOpts()) }; if (name == "DECL_LINK") { |