submodule macro overriding within the same top-level module (necessary for the testcase to be remotely reasonable). Incidentally reduces the number of libc++ testsuite regressions with modules enabled from 7 to 6. llvm-svn: 203063
6 lines
154 B
C
6 lines
154 B
C
#include "macros_top.h"
|
|
#undef TOP_REDEF_IN_SUBMODULES
|
|
#define TOP_REDEF_IN_SUBMODULES 1
|
|
#undef TOP_REDEF_IN_SUBMODULES
|
|
#define TOP_REDEF_IN_SUBMODULES 2
|