diff options
Diffstat (limited to 'include/clang/Serialization/ASTWriter.h')
-rw-r--r-- | include/clang/Serialization/ASTWriter.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/clang/Serialization/ASTWriter.h b/include/clang/Serialization/ASTWriter.h index 5773c77d8f..b2ea48d5ae 100644 --- a/include/clang/Serialization/ASTWriter.h +++ b/include/clang/Serialization/ASTWriter.h @@ -18,7 +18,6 @@ #include "clang/AST/DeclarationName.h" #include "clang/AST/TemplateBase.h" #include "clang/AST/ASTMutationListener.h" -#include "clang/Lex/ModuleMap.h" #include "clang/Serialization/ASTBitCodes.h" #include "clang/Serialization/ASTDeserializationListener.h" #include "clang/Sema/SemaConsumer.h" @@ -51,6 +50,7 @@ class MemorizeStatCalls; class OpaqueValueExpr; class OpenCLOptions; class ASTReader; +class Module; class PreprocessedEntity; class PreprocessingRecord; class Preprocessor; @@ -360,7 +360,7 @@ private: /// \brief A mapping from each known submodule to its ID number, which will /// be a positive integer. - llvm::DenseMap<ModuleMap::Module *, unsigned> SubmoduleIDs; + llvm::DenseMap<Module *, unsigned> SubmoduleIDs; /// \brief Write the given subexpression to the bitstream. void WriteSubStmt(Stmt *S, @@ -378,7 +378,7 @@ private: void WritePreprocessor(const Preprocessor &PP, bool IsModule); void WriteHeaderSearch(const HeaderSearch &HS, StringRef isysroot); void WritePreprocessorDetail(PreprocessingRecord &PPRec); - void WriteSubmodules(ModuleMap::Module *WritingModule); + void WriteSubmodules(Module *WritingModule); void WritePragmaDiagnosticMappings(const DiagnosticsEngine &Diag); void WriteCXXBaseSpecifiersOffsets(); void WriteType(QualType T); @@ -418,7 +418,7 @@ private: void WriteASTCore(Sema &SemaRef, MemorizeStatCalls *StatCalls, StringRef isysroot, const std::string &OutputFile, - ModuleMap::Module *WritingModule); + Module *WritingModule); public: /// \brief Create a new precompiled header writer that outputs to @@ -441,7 +441,7 @@ public: /// are relative to the given system root. void WriteAST(Sema &SemaRef, MemorizeStatCalls *StatCalls, const std::string &OutputFile, - ModuleMap::Module *WritingModule, StringRef isysroot); + Module *WritingModule, StringRef isysroot); /// \brief Emit a source location. void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record); @@ -678,7 +678,7 @@ public: class PCHGenerator : public SemaConsumer { const Preprocessor &PP; std::string OutputFile; - ModuleMap::Module *Module; + clang::Module *Module; std::string isysroot; raw_ostream *Out; Sema *SemaPtr; @@ -693,7 +693,7 @@ protected: public: PCHGenerator(const Preprocessor &PP, StringRef OutputFile, - ModuleMap::Module *Module, + clang::Module *Module, StringRef isysroot, raw_ostream *Out); ~PCHGenerator(); virtual void InitializeSema(Sema &S) { SemaPtr = &S; } |