diff options
Diffstat (limited to 'compilerplugins/clang/store/fpcomparison.cxx')
-rw-r--r-- | compilerplugins/clang/store/fpcomparison.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/fpcomparison.cxx b/compilerplugins/clang/store/fpcomparison.cxx index d56b02644445..faaec0110fa5 100644 --- a/compilerplugins/clang/store/fpcomparison.cxx +++ b/compilerplugins/clang/store/fpcomparison.cxx @@ -70,7 +70,7 @@ bool FpComparison::ignore(FunctionDecl* function) return true; } // we assume that these modules know what they are doing with FP stuff - StringRef aFileName = getFileNameOfSpellingLoc(compiler.getSourceManager().getSpellingLoc(function->getLocStart())); + StringRef aFileName = getFilenameOfLocation(compiler.getSourceManager().getSpellingLoc(function->getLocStart())); if (loplugin::hasPathnamePrefix(aFileName, SRCDIR "/sc/")) { return true; } |