diff options
Diffstat (limited to 'compilerplugins/clang/plugin.hxx')
-rw-r--r-- | compilerplugins/clang/plugin.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx index 5299e7f2eac3..4c4d9a70fcb3 100644 --- a/compilerplugins/clang/plugin.hxx +++ b/compilerplugins/clang/plugin.hxx @@ -72,6 +72,9 @@ protected: const Stmt* getParentStmt( const Stmt* stmt ); Stmt* getParentStmt( Stmt* stmt ); const FunctionDecl* getParentFunctionDecl( const Stmt* stmt ); + + /// to check file names against whitelists, so that it works with preprocessed input too + StringRef getFileNameOfSpellingLoc(SourceLocation spellingLocation) const; /** Checks if the location is inside an UNO file, more specifically, if it forms part of the URE stable interface, which is not allowed to be changed. |