diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-04 00:29:54 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-04 00:29:54 +0000 |
commit | d13863008b380aae3be60fd8b6e9d36e913b027e (patch) | |
tree | 4ab68eb4476d6912238d6e7450a58f7fdc72cb70 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 8e238705858ff57dd01381be8bd73873a7cd584f (diff) | |
download | llvm-d13863008b380aae3be60fd8b6e9d36e913b027e.zip llvm-d13863008b380aae3be60fd8b6e9d36e913b027e.tar.gz llvm-d13863008b380aae3be60fd8b6e9d36e913b027e.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions