diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-12-01 11:08:04 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-12-01 11:08:04 +0000 |
commit | 1569ce68681d909594d64f9b056d71f5dd7563bf (patch) | |
tree | 867cbbe32a66fd7d62dd9ce9df23a23fefdb8290 /lib/Frontend/GeneratePCH.cpp | |
parent | f5bd02d290ff15268853e0456c130a1afa15e907 (diff) | |
download | src-1569ce68681d909594d64f9b056d71f5dd7563bf.tar.gz src-1569ce68681d909594d64f9b056d71f5dd7563bf.zip |
Update clang to r90226.
Notes
Notes:
svn path=/vendor/clang/dist/; revision=199990
Diffstat (limited to 'lib/Frontend/GeneratePCH.cpp')
-rw-r--r-- | lib/Frontend/GeneratePCH.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Frontend/GeneratePCH.cpp b/lib/Frontend/GeneratePCH.cpp index 0e4f83ff09f5..6251bac04758 100644 --- a/lib/Frontend/GeneratePCH.cpp +++ b/lib/Frontend/GeneratePCH.cpp @@ -20,16 +20,13 @@ #include "clang/Lex/Preprocessor.h" #include "clang/Basic/FileManager.h" #include "llvm/Bitcode/BitstreamWriter.h" -#include "llvm/System/Path.h" -#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include <string> using namespace clang; -using namespace llvm; namespace { - class VISIBILITY_HIDDEN PCHGenerator : public SemaConsumer { + class PCHGenerator : public SemaConsumer { const Preprocessor &PP; const char *isysroot; llvm::raw_ostream *Out; @@ -62,7 +59,7 @@ void PCHGenerator::HandleTranslationUnit(ASTContext &Ctx) { // Write the PCH contents into a buffer std::vector<unsigned char> Buffer; - BitstreamWriter Stream(Buffer); + llvm::BitstreamWriter Stream(Buffer); PCHWriter Writer(Stream); // Emit the PCH file |