summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/staticmethods.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx
index 71e3b6a2a717..036662c3ea16 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -85,15 +85,6 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
return true;
}
- // leave these alone for now, it is possible to fix them, but I don't understand how
- SourceLocation canonicalLoc = pCXXMethodDecl->getCanonicalDecl()->getLocStart();
- if (compat::isMacroBodyExpansion(compiler, canonicalLoc) ) {
- StringRef name { Lexer::getImmediateMacroName(
- canonicalLoc, compiler.getSourceManager(), compiler.getLangOpts()) };
- if (name == "DECL_LINK") {
- return true;
- }
- }
// the CppUnit stuff uses macros and methods that can't be changed
if (isDerivedFromTestFixture(pCXXMethodDecl->getParent())) {
return true;