diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-06-09 19:22:32 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-06-09 19:22:32 +0000 |
commit | 5d2ed489870cb4b093ec8f52ab4a4ef81428d6fe (patch) | |
tree | e160351d0bb3ac6668d13998c903dc916851bf50 /clang/lib/AST/StmtProfile.cpp | |
parent | 01a48b5dfde850f1818c511f08188d9a15945222 (diff) | |
download | bcm5719-llvm-5d2ed489870cb4b093ec8f52ab4a4ef81428d6fe.tar.gz bcm5719-llvm-5d2ed489870cb4b093ec8f52ab4a4ef81428d6fe.zip |
Add #pragma clang module build/endbuild pragmas for performing a module build
as part of a compilation.
This is intended for two purposes:
1) Writing self-contained test cases for modules: we can now write a single
source file test that builds some number of module files on the side and
imports them.
2) Debugging / test case reduction. A single-source testcase is much more
amenable to reduction, compared to a VFS tarball or .pcm files.
llvm-svn: 305101
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
0 files changed, 0 insertions, 0 deletions