diff options
Diffstat (limited to 'compilerplugins/clang/externandnotdefined.cxx')
-rw-r--r-- | compilerplugins/clang/externandnotdefined.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/externandnotdefined.cxx b/compilerplugins/clang/externandnotdefined.cxx index 72b250d3d82e..5d65579a6af1 100644 --- a/compilerplugins/clang/externandnotdefined.cxx +++ b/compilerplugins/clang/externandnotdefined.cxx @@ -59,7 +59,7 @@ bool ExternAndNotDefined::VisitFunctionDecl(const FunctionDecl * functionDecl) { { return true; } - StringRef fileName { getFileNameOfSpellingLoc(functionDecl->getLocation()) }; + StringRef fileName { getFilenameOfLocation(functionDecl->getLocation()) }; // the filters use some kind of dynamic loading stunt if (loplugin::hasPathnamePrefix(fileName, SRCDIR "/filter/qa/")) { return true; |