diff options
-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 4518dd5cbca5..21d89907eb6c 100644 --- a/compilerplugins/clang/pluginhandler.cxx +++ b/compilerplugins/clang/pluginhandler.cxx @@ -224,7 +224,7 @@ void PluginHandler::HandleTranslationUnit( ASTContext& context ) sprintf( filename, "%s.new.%d", modifyFile.c_str(), getpid()); string error; bool ok = false; - raw_fd_ostream ostream( filename, error ); + raw_fd_ostream ostream( filename, error, sys::fs::F_None ); if( error.empty()) { it->second.write( ostream ); |