summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/pluginhandler.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 08:47:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-25 08:48:21 +0100
commit35f28b706e245d53e6f41f94ad060be2fb4f846d (patch)
tree854de12750122712ebb555aa5f0e003dc70f698d /compilerplugins/clang/pluginhandler.cxx
parent1c51811a43bfc4993a0aa0f278df248b56d6810c (diff)
raw_fd_ostream Flags parameter no longer defaulted
...at least on trunk r202077. Change-Id: Ieb59cc7ac70e2a57ac13eefdfcbb6bfa42e25218
Diffstat (limited to 'compilerplugins/clang/pluginhandler.cxx')
-rw-r--r--compilerplugins/clang/pluginhandler.cxx2
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 );