llvm-project/clang/lib/Frontend
Duncan P. N. Exon Smith 20d51b2f14 clang/Modules: Rename CompilerInstance::ModuleManager, NFC
Fix the confusing naming of `CompilerInstance::ModuleManager`.  This is
actually an instance of `ASTReader`, which contains an instance of
`ModuleManager`.  I have to assume there was a point in the past where
they were just one class, but it's been pretty confusing for a while.  I
think it's time to fix it.

The new name is `TheASTReader`; the annoying `The` prefix is so that we
don't shadow the `ASTReader` class.  I tried out `ASTRdr` but that
seemed less clear, and this choice matches `ThePCHContainerOperations`
just a couple of declarations below.

Also rename `CompilerInstance::getModuleManager` and
`CompilerInstance::createModuleManager` to `*ASTReader`, making some
cases of `getModuleManager().getModuleManager()` a little more clear.

https://reviews.llvm.org/D70583
2019-11-22 18:24:11 -08:00
..
Rewrite clang/Modules: Rename CompilerInstance::ModuleManager, NFC 2019-11-22 18:24:11 -08:00
ASTConsumers.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
ASTMerge.cpp [ASTImporter] Mark erroneous nodes in shared st 2019-07-01 15:37:07 +00:00
ASTUnit.cpp clang/Modules: Rename CompilerInstance::ModuleManager, NFC 2019-11-22 18:24:11 -08:00
CMakeLists.txt Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
ChainedDiagnosticConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ChainedIncludesSource.cpp Avoid including Builtins.h in Preprocessor.h 2019-11-15 16:45:16 -08:00
CompilerInstance.cpp clang/Modules: Rename CompilerInstance::ModuleManager, NFC 2019-11-22 18:24:11 -08:00
CompilerInvocation.cpp Move vtordisp mode from Attr class to LangOptions.h, NFC 2019-11-22 15:47:46 -08:00
CreateInvocationFromCommandLine.cpp ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
DependencyFile.cpp [clang][DependencyFileGenerator] Fix missing -MT option handling 2019-09-07 00:59:13 +00:00
DependencyGraph.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
DiagnosticRenderer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FrontendAction.cpp clang/Modules: Rename CompilerInstance::ModuleManager, NFC 2019-11-22 18:24:11 -08:00
FrontendActions.cpp [c++20] Add rewriting from comparison operators to <=> / ==. 2019-10-19 00:04:43 +00:00
FrontendOptions.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
FrontendTiming.cpp Fix file headers. NFC 2019-03-01 06:49:51 +00:00
HeaderIncludeGen.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
InitHeaderSearch.cpp Reland r371785: Add -Wpoison-system-directories warning 2019-09-13 18:00:51 +00:00
InitPreprocessor.cpp Prune include of DataLayout.h from include/clang/Basic/TargetInfo.h. NFC 2019-10-21 17:58:14 +00:00
InterfaceStubFunctionsConsumer.cpp [clang][IFS] Adds support for more decl types in clang interface stubs. 2019-11-08 20:27:25 -05:00
LayoutOverrideSource.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LogDiagnosticPrinter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModuleDependencyCollector.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
MultiplexConsumer.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
PrecompiledPreamble.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
PrintPreprocessedOutput.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SerializedDiagnosticPrinter.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SerializedDiagnosticReader.cpp Bitstream reader: Fix undefined behavior seen after rL364464 2019-07-05 20:22:40 +00:00
TestModuleFileExtension.cpp [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
TestModuleFileExtension.h [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
TextDiagnostic.cpp [lldb] Print better diagnostics for user expressions and modules 2019-09-18 08:53:35 +00:00
TextDiagnosticBuffer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TextDiagnosticPrinter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VerifyDiagnosticConsumer.cpp Introduce FileEntryRef and use it when handling includes to report correct dependencies 2019-08-22 18:15:50 +00:00