raw_fd_ostream Flags parameter no longer defaulted
...at least on trunk r202077. Change-Id: Ieb59cc7ac70e2a57ac13eefdfcbb6bfa42e25218
This commit is contained in:
@@ -224,7 +224,7 @@ void PluginHandler::HandleTranslationUnit( ASTContext& context )
|
|||||||
sprintf( filename, "%s.new.%d", modifyFile.c_str(), getpid());
|
sprintf( filename, "%s.new.%d", modifyFile.c_str(), getpid());
|
||||||
string error;
|
string error;
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
raw_fd_ostream ostream( filename, error );
|
raw_fd_ostream ostream( filename, error, sys::fs::F_None );
|
||||||
if( error.empty())
|
if( error.empty())
|
||||||
{
|
{
|
||||||
it->second.write( ostream );
|
it->second.write( ostream );
|
||||||
|
Reference in New Issue
Block a user