Files
llvm-project/clang/test/Modules/Inputs/submodule-visibility/a.h
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

10 lines
71 B
C

int n;
#ifdef B
#error B is defined
#endif
#define A
#include "c.h"