diff options
Diffstat (limited to 'compilerplugins/clang/datamembershadow.cxx')
-rw-r--r-- | compilerplugins/clang/datamembershadow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/datamembershadow.cxx b/compilerplugins/clang/datamembershadow.cxx index d325650becea..7a5bf4bc3e87 100644 --- a/compilerplugins/clang/datamembershadow.cxx +++ b/compilerplugins/clang/datamembershadow.cxx @@ -46,7 +46,7 @@ bool DataMemberShadow::VisitFieldDecl(FieldDecl const * fieldDecl) if (ignoreLocation(fieldDecl)) { return true; } - StringRef aFileName = getFileNameOfSpellingLoc( + StringRef aFileName = getFilenameOfLocation( compiler.getSourceManager().getSpellingLoc(compat::getBeginLoc(fieldDecl))); // FIXME complex stuff to fix later |