summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/pluginhandler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/pluginhandler.hxx')
-rw-r--r--compilerplugins/clang/pluginhandler.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx
index 0b53d7043f00..1cb405d54d35 100644
--- a/compilerplugins/clang/pluginhandler.hxx
+++ b/compilerplugins/clang/pluginhandler.hxx
@@ -60,6 +60,7 @@ public:
// without corrupting the source
bool checkOverlap(SourceRange range);
void addSourceModification(SourceRange range);
+ StringRef const& getMainFileName() const { return mainFileName; }
private:
void handleOption( const std::string& option );
void createPlugins( std::set< std::string > rewriters );