aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-04 00:29:54 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-04 00:29:54 +0000
commitd13863008b380aae3be60fd8b6e9d36e913b027e (patch)
tree4ab68eb4476d6912238d6e7450a58f7fdc72cb70 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent8e238705858ff57dd01381be8bd73873a7cd584f (diff)
downloadllvm-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