r255838 - Update for llvm API change.

Rafael Espindola via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 14:59:09 PST 2015


Author: rafael
Date: Wed Dec 16 16:59:09 2015
New Revision: 255838

URL: http://llvm.org/viewvc/llvm-project?rev=255838&view=rev
Log:
Update for llvm API change.

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp
    cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=255838&r1=255837&r2=255838&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Wed Dec 16 16:59:09 2015
@@ -155,7 +155,6 @@ static void SetUpDiagnosticLog(Diagnosti
           << DiagOpts->DiagnosticLogFile << EC.message();
     } else {
       FileOS->SetUnbuffered();
-      FileOS->SetUseAtomicWrites(true);
       OS = FileOS.get();
       StreamOwner = std::move(FileOS);
     }

Modified: cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp?rev=255838&r1=255837&r2=255838&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp (original)
+++ cfe/trunk/lib/Frontend/HeaderIncludeGen.cpp Wed Dec 16 16:59:09 2015
@@ -92,7 +92,6 @@ void clang::AttachHeaderIncludeGen(Prepr
       delete OS;
     } else {
       OS->SetUnbuffered();
-      OS->SetUseAtomicWrites(true);
       OutputFile = OS;
       OwnsOutputFile = true;
     }




More information about the cfe-commits mailing list