hanchenye-llvm-project/clang/lib/Frontend
Richard Smith d13863008b Add #pragma clang module begin/end pragmas and generate them when preprocessing a module.
These pragmas are intended to simulate the effect of entering or leaving a file
with an associated module. This is not completely implemented yet: declarations
between the pragmas will not be attributed to the correct module, but macro
visibility is already functional.

Modules named by #pragma clang module begin must already be known to clang (in
some module map that's either loaded or on the search path).

llvm-svn: 302098
2017-05-04 00:29:54 +00:00
..
Rewrite Add #pragma clang module begin/end pragmas and generate them when preprocessing a module. 2017-05-04 00:29:54 +00:00
ASTConsumers.cpp Add -cc1 flag -ast-dump-all to perform an AST dump including entities that haven't yet been deserialized. 2017-03-09 22:00:01 +00:00
ASTMerge.cpp
ASTUnit.cpp Refactor frontend InputKind to prepare for treating module maps as a distinct kind of input. 2017-04-26 18:57:40 +00:00
CMakeLists.txt
CacheTokens.cpp
ChainedDiagnosticConsumer.cpp
ChainedIncludesSource.cpp Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
CodeGenOptions.cpp
CompilerInstance.cpp Move functionality for handling module maps as inputs from the -emit-module 2017-04-28 01:49:42 +00:00
CompilerInvocation.cpp Revert rL301998: "Fix a bug that -isysroot is completely ignored on Unix" 2017-05-03 06:02:45 +00:00
CreateInvocationFromCommandLine.cpp Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
DependencyFile.cpp Fix PR31644 introduced by r287138 and add a regression test. 2017-01-14 21:12:08 +00:00
DependencyGraph.cpp
DiagnosticRenderer.cpp
FrontendAction.cpp Move functionality for handling module maps as inputs from the -emit-module 2017-04-28 01:49:42 +00:00
FrontendActions.cpp Move functionality for handling module maps as inputs from the -emit-module 2017-04-28 01:49:42 +00:00
FrontendOptions.cpp Move functionality for handling module maps as inputs from the -emit-module 2017-04-28 01:49:42 +00:00
HeaderIncludeGen.cpp
InitHeaderSearch.cpp [Frontend] Fix an issue where a quoted search path is incorrectly 2016-12-02 09:51:51 +00:00
InitPreprocessor.cpp Refactor frontend InputKind to prepare for treating module maps as a distinct kind of input. 2017-04-26 18:57:40 +00:00
LangStandards.cpp Don't accept -std= values that would switch us to a different source language. 2017-04-26 23:44:33 +00:00
LayoutOverrideSource.cpp
LogDiagnosticPrinter.cpp
ModuleDependencyCollector.cpp [CrashReproducer] Add support for merging -ivfsoverlay 2016-12-22 07:06:03 +00:00
MultiplexConsumer.cpp
PCHContainerOperations.cpp Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
PrintPreprocessedOutput.cpp Add #pragma clang module begin/end pragmas and generate them when preprocessing a module. 2017-05-04 00:29:54 +00:00
SerializedDiagnosticPrinter.cpp Move SerializedDiagnosticPrinter's SharedState to std::shared_ptr rather than IntrusiveRefCntPtr 2017-01-05 19:48:10 +00:00
SerializedDiagnosticReader.cpp Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
TestModuleFileExtension.cpp Fix for LLVM Bitcode API change (to use std::shared_ptr) 2017-01-04 22:36:43 +00:00
TestModuleFileExtension.h
TextDiagnostic.cpp
TextDiagnosticBuffer.cpp
TextDiagnosticPrinter.cpp
VerifyDiagnosticConsumer.cpp Preprocessor: Suppress -Wnonportable-include-path for header maps 2017-04-27 21:41:51 +00:00