llvm-capstone/clang/lib/Frontend
Iain Sandoe c6e9823724 [C++20][Modules] Introduce an implementation module.
We need to be able to distinguish individual TUs from the same module in cases
where TU-local entities either need to be hidden (or, for some cases of ADL in
template instantiation, need to be detected as exposures).

This creates a module type for the implementation which implicitly imports its
primary module interface per C++20:
[module.unit/8] 'A module-declaration that contains neither an export-keyword
nor a module-partition implicitly imports the primary module interface unit of
the module as if by a module-import-declaration.

Implementation modules are never serialized (-emit-module-interface for an
implementation unit is diagnosed and rejected).

Differential Revision: https://reviews.llvm.org/D126959
2023-03-23 12:47:44 +00:00
..
Rewrite [clang] Correct -frewrite-includes generation of line control directives with mixed EOL forms. 2023-01-05 13:24:01 -05:00
ASTConsumers.cpp
ASTMerge.cpp Revert "[clang] ASTImporter: Fix importing of va_list types and declarations" 2022-10-31 19:34:23 +01:00
ASTUnit.cpp [libclang] Add index option to store preambles in memory 2023-03-15 09:21:41 -04:00
ChainedDiagnosticConsumer.cpp
ChainedIncludesSource.cpp [NFC] Make MultiplexExternalSemaSource own sources 2022-09-02 13:57:39 -05:00
CMakeLists.txt [Support] Move TargetParsers to new component 2022-12-20 11:05:50 +00:00
CompilerInstance.cpp [clang] Include the error message in file reading error diagnostic 2023-03-17 13:47:02 +01:00
CompilerInvocation.cpp [Driver] Add --vfsoverlay flag 2023-02-13 17:25:45 +00:00
CreateInvocationFromCommandLine.cpp [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
DependencyFile.cpp [clang] Use std::optional instead of llvm::Optional (NFC) 2023-01-14 12:31:01 -08:00
DependencyGraph.cpp [Clang] Prepare for llvm::Optional becoming std::optional. 2022-12-20 00:41:40 +01:00
DiagnosticRenderer.cpp [clang] Don't including None.h (NFC) 2022-12-08 23:36:50 -08:00
FrontendAction.cpp [Modules] Recreate file manager for ftime-trace when compiling a module 2023-02-06 17:17:09 +08:00
FrontendActions.cpp [C++20][Modules] Introduce an implementation module. 2023-03-23 12:47:44 +00:00
FrontendOptions.cpp [HLSL] Infer language from file extension 2022-08-23 20:52:29 -05:00
HeaderIncludeGen.cpp Return early if FileID is invalid. NFC 2022-12-14 21:28:31 -08:00
InitPreprocessor.cpp Remove the outdated feature macro '__cpp_coroutines' 2023-03-17 13:52:18 +08:00
InterfaceStubFunctionsConsumer.cpp
LayoutOverrideSource.cpp
LogDiagnosticPrinter.cpp Remove a few effectively-unused FileEntry APIs. NFC 2022-04-07 16:45:47 +02:00
ModuleDependencyCollector.cpp [clang] Report the on-disk paths for inputs to module compiles 2023-01-13 18:38:11 -08:00
MultiplexConsumer.cpp [Clang] Override method ModuleImportRead in MultiplexASTDeserializationListener 2022-04-11 08:38:37 -04:00
PrecompiledPreamble.cpp [libclang] Add API to override preamble storage path 2023-03-07 08:25:38 -05:00
PrintPreprocessedOutput.cpp [Clang] Prepare for llvm::Optional becoming std::optional. 2022-12-20 00:41:40 +01:00
SARIFDiagnostic.cpp [clang] Better warning-fix follow-up to D131632 2022-08-26 18:29:20 -04:00
SARIFDiagnosticPrinter.cpp [clang] Enable output of SARIF diagnostics 2022-08-26 18:49:29 +00:00
SerializedDiagnosticPrinter.cpp [clang] Use *{Map,Set}::contains (NFC) 2023-03-15 18:06:34 -07:00
SerializedDiagnosticReader.cpp [Bitcode(Reader|Writer)] Convert Optional to std::optional 2022-12-07 15:27:38 -08:00
TestModuleFileExtension.cpp
TestModuleFileExtension.h
TextDiagnostic.cpp [Frontend] Use std::optional in TextDiagnostic.cpp (NFC) 2022-12-09 23:22:41 -08:00
TextDiagnosticBuffer.cpp
TextDiagnosticPrinter.cpp
VerifyDiagnosticConsumer.cpp [Clang] Prepare for llvm::Optional becoming std::optional. 2022-12-20 00:41:40 +01:00