diff options
Diffstat (limited to 'compilerplugins/clang/pluginhandler.cxx')
-rw-r--r-- | compilerplugins/clang/pluginhandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx index 6d00cf22a8cf..02150c2b10c5 100644 --- a/compilerplugins/clang/pluginhandler.cxx +++ b/compilerplugins/clang/pluginhandler.cxx @@ -340,7 +340,7 @@ void PluginHandler::HandleTranslationUnit( ASTContext& context ) bSkip = true; } if( modifyFile.empty()) - modifyFile = name; + modifyFile = name.str(); // Check whether the modified file is in the wanted scope if( scope == "mainfile" ) { |