summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/SerializedDiagnosticReader.cpp
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-07-03 22:40:07 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-07-03 22:40:07 +0000
commite0308279cbdd18391c533d6501922429ff4ef839 (patch)
treec2386ec9a73920d3d86f09116473884c388e7b8d /clang/lib/Frontend/SerializedDiagnosticReader.cpp
parente0afcd8d266ed4fa9d3793d0032623f0aa12b80a (diff)
downloadbcm5719-llvm-e0308279cbdd18391c533d6501922429ff4ef839.tar.gz
bcm5719-llvm-e0308279cbdd18391c533d6501922429ff4ef839.zip
[Bitcode] Move Bitstream to a separate library
This moves Bitcode/Bitstream*, Bitcode/BitCodes.h to Bitstream/. This is needed to avoid a circular dependency when using the bitstream code for parsing optimization remarks. Since Bitcode uses Core for the IR part: libLLVMRemarks -> Bitcode -> Core and Core uses libLLVMRemarks to generate remarks (see IR/RemarkStreamer.cpp): Core -> libLLVMRemarks we need to separate the Bitstream and Bitcode part. For clang-doc, it seems that it doesn't need the whole bitcode layer, so I updated the CMake to only use the bitstream part. Differential Revision: https://reviews.llvm.org/D63899 llvm-svn: 365091
Diffstat (limited to 'clang/lib/Frontend/SerializedDiagnosticReader.cpp')
-rw-r--r--clang/lib/Frontend/SerializedDiagnosticReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/SerializedDiagnosticReader.cpp b/clang/lib/Frontend/SerializedDiagnosticReader.cpp
index c60dd6c1ef8..045d757adbf 100644
--- a/clang/lib/Frontend/SerializedDiagnosticReader.cpp
+++ b/clang/lib/Frontend/SerializedDiagnosticReader.cpp
@@ -13,8 +13,8 @@
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
-#include "llvm/Bitcode/BitCodes.h"
-#include "llvm/Bitcode/BitstreamReader.h"
+#include "llvm/Bitstream/BitCodes.h"
+#include "llvm/Bitstream/BitstreamReader.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ErrorOr.h"
OpenPOWER on IntegriCloud