diff options
Diffstat (limited to 'include/clang/Frontend/CompilerInstance.h')
-rw-r--r-- | include/clang/Frontend/CompilerInstance.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/clang/Frontend/CompilerInstance.h b/include/clang/Frontend/CompilerInstance.h index 09b27e14df..90f84ef379 100644 --- a/include/clang/Frontend/CompilerInstance.h +++ b/include/clang/Frontend/CompilerInstance.h @@ -99,15 +99,9 @@ class CompilerInstance : public ModuleLoader { /// \brief Non-owning reference to the ASTReader, if one exists. ASTReader *ModuleManager; - /// \brief A module that we have already attempted to load, which is known - /// by either a file entry (FIXME: a temporary measure) or via its module - /// definition. - typedef llvm::PointerUnion<const FileEntry *, ModuleMap::Module *> - KnownModule; - /// \brief The set of top-level modules that has already been loaded, /// along with the module map - llvm::DenseMap<const IdentifierInfo *, KnownModule> KnownModules; + llvm::DenseMap<const IdentifierInfo *, ModuleMap::Module *> KnownModules; /// \brief The location of the module-import keyword for the last module /// import. @@ -115,7 +109,7 @@ class CompilerInstance : public ModuleLoader { /// \brief The result of the last module import. /// - KnownModule LastModuleImportResult; + ModuleMap::Module *LastModuleImportResult; /// \brief Holds information about the output file. /// |