Richard Smith c5247e67e8 [modules] When we #include a local submodule header that we've already built,
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
2017-05-30 02:03:19 +00:00

8 lines
199 B
Plaintext

module fwd { header "fwd.h" export * }
module file { header "file.h" header "file2.h" export * }
module nested {
module a { header "a.h" }
module b { header "b.h" }
module c { header "c.h" }
}