aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/preprocess-nested.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-05-31[modules] When compiling a preprocessed module map, look for headers relativeRichard Smith1-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
2017-05-30[modules] When we #include a local submodule header that we've already built,Richard Smith1-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