From: Rafael Espindola Date: Wed, 16 Dec 2015 22:59:09 +0000 (+0000) Subject: Update for llvm API change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ee5283747cf1773156afae545dbf02826798d9b;p=clang Update for llvm API change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255838 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 04f13901e9..3edcf5d654 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -155,7 +155,6 @@ static void SetUpDiagnosticLog(DiagnosticOptions *DiagOpts, << DiagOpts->DiagnosticLogFile << EC.message(); } else { FileOS->SetUnbuffered(); - FileOS->SetUseAtomicWrites(true); OS = FileOS.get(); StreamOwner = std::move(FileOS); } diff --git a/lib/Frontend/HeaderIncludeGen.cpp b/lib/Frontend/HeaderIncludeGen.cpp index 9123d5321f..0bc1169ba0 100644 --- a/lib/Frontend/HeaderIncludeGen.cpp +++ b/lib/Frontend/HeaderIncludeGen.cpp @@ -92,7 +92,6 @@ void clang::AttachHeaderIncludeGen(Preprocessor &PP, delete OS; } else { OS->SetUnbuffered(); - OS->SetUseAtomicWrites(true); OutputFile = OS; OwnsOutputFile = true; }