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

11 lines
132 B
C

int m = n;
#include "other.h"
#include "c.h"
#if defined(A) && !defined(ALLOW_NAME_LEAKAGE)
#error A is defined
#endif
#define B