summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/preprocess-nested.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [modules] When compiling a preprocessed module map, look for headers relativeRichard Smith2017-05-311-2/+0
| | | | | | | | | | | | to the original module map. Also use the path and name of the original module map when emitting that information into the .pcm file. The upshot of this is that the produced .pcm file will track information for headers in their original locations (where the module was preprocessed), not relative to whatever directory the preprocessed module map was in when it was built. llvm-svn: 304346
* [modules] When we #include a local submodule header that we've already built,Richard Smith2017-05-301-0/+59
and it has an include guard, produce callbacks for a module import, not for a skipped non-modular header. Fixes -E output when preprocessing a module to list these cases as a module import, rather than suppressing the #include and losing the import side effect. llvm-svn: 304183
OpenPOWER on IntegriCloud