mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 14:05:49 -04:00

modifying directly for the preamble. This avoids an awful, hard to find, bug where "PreprocessorOpts.DisablePCHValidation = true" would be persistent for subsequent reparses of the translation unit which would result in defines, present in command-line but not in the PCH, being ignored. Fixes rdar://9615399. llvm-svn: 139512
9 lines
81 B
Plaintext
9 lines
81 B
Plaintext
|
|
#ifndef CMD_MACRO
|
|
#error CMD_MACRO undefined
|
|
#endif
|
|
|
|
int foo() {
|
|
return x;
|
|
}
|