]> granicus.if.org Git - clang/commitdiff
Mirror the llvm changes that split Bitcode/ReaderWriter.h
authorTeresa Johnson <tejohnson@google.com>
Fri, 11 Nov 2016 05:35:12 +0000 (05:35 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 11 Nov 2016 05:35:12 +0000 (05:35 +0000)
The change in D26502 splits ReaderWriter.h, which contains the APIs
into both the BitReader and BitWriter libraries, into BitcodeReader.h
and BitcodeWriter.h.

Change clang uses to the appropriate split header(s).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286567 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CodeGenAction.cpp
tools/clang-offload-bundler/ClangOffloadBundler.cpp

index 7b832ab5639bee46381612291449242a35b9c095..d0bd22c5f13c1d1cfcd092d57b02a6a0b9f353cd 100644 (file)
@@ -20,7 +20,8 @@
 #include "llvm/Analysis/TargetLibraryInfo.h"
 #include "llvm/Analysis/TargetTransformInfo.h"
 #include "llvm/Bitcode/BitcodeWriterPass.h"
-#include "llvm/Bitcode/ReaderWriter.h"
+#include "llvm/Bitcode/BitcodeWriter.h"
+#include "llvm/Bitcode/BitcodeReader.h"
 #include "llvm/CodeGen/RegAllocRegistry.h"
 #include "llvm/CodeGen/SchedulerRegistry.h"
 #include "llvm/IR/DataLayout.h"
index afa823c5b600b08841993bb4fcf78b26b632d031..89c5955f491f5cad6a59c2005d78533580f2f9f2 100644 (file)
@@ -18,7 +18,7 @@
 #include "clang/AST/Decl.h"
 #include "clang/AST/StmtOpenMP.h"
 #include "llvm/ADT/ArrayRef.h"
-#include "llvm/Bitcode/ReaderWriter.h"
+#include "llvm/Bitcode/BitcodeReader.h"
 #include "llvm/IR/CallSite.h"
 #include "llvm/IR/DerivedTypes.h"
 #include "llvm/IR/GlobalValue.h"
index c63e95b6ecb17b4208b92ee6d5b51eef149615b4..8ffe9d4b5e44927bc1da8e76310fad246ca1046b 100644 (file)
@@ -21,7 +21,7 @@
 #include "clang/Frontend/CompilerInstance.h"
 #include "clang/Frontend/FrontendDiagnostic.h"
 #include "clang/Lex/Preprocessor.h"
-#include "llvm/Bitcode/ReaderWriter.h"
+#include "llvm/Bitcode/BitcodeReader.h"
 #include "llvm/IR/DebugInfo.h"
 #include "llvm/IR/DiagnosticInfo.h"
 #include "llvm/IR/DiagnosticPrinter.h"
index 91b3c7716d7487974b2e20cc7341ae8616c7cf54..20988b48ede1e35229dc2d35c138aa73c91d33b1 100644 (file)
@@ -22,7 +22,7 @@
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/Bitcode/ReaderWriter.h"
+#include "llvm/Bitcode/BitcodeWriter.h"
 #include "llvm/IR/Constant.h"
 #include "llvm/IR/Constants.h"
 #include "llvm/IR/GlobalVariable.h"