Richard Smith 2aedca340c [modules] Before checking whether the controlling macro of a header is defined,
update the identifier in case we've imported a definition of the macro (and
thus the contents of the header) from a module.

Also fold ExternalIdentifierLookup into ExternalPreprocessorSource; it no longer
makes sense to keep these separate now that the only user of the former also
needs the latter.

llvm-svn: 241137
2015-07-01 02:29:35 +00:00

8 lines
194 B
Plaintext

module x { module a { header "a.h" } module b { header "b.h" } }
module other { header "other.h" }
module cycles {
module cycle1 { header "cycle1.h" }
module cycle2 { header "cycle2.h" }
}