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 50d432081f00..aa1b97e01015 100644 --- a/compilerplugins/clang/staticmethods.cxx +++ b/compilerplugins/clang/staticmethods.cxx @@ -60,7 +60,7 @@ bool isDerivedFromTestFixture(const CXXRecordDecl *decl) { StringRef StaticMethods::getFilename(SourceLocation loc) { SourceLocation spellingLocation = compiler.getSourceManager().getSpellingLoc(loc); - return compiler.getSourceManager().getFilename(spellingLocation); + return getFileNameOfSpellingLoc(spellingLocation); } bool startsWith(const std::string& rStr, const char* pSubStr) { |