llvm-capstone/clang/test/Preprocessor/mi_opt.h
Chris Lattner a30be59fa2 Fix a nasty corner case that Neil noticed in PR1900, where we would
incorrectly apply the multiple include optimization to files with 
guards like:

#if !defined(x) MACRO

where MACRO could expand to different things in different contexts.
Thanks Neil!

llvm-svn: 45716
2008-01-07 19:50:27 +00:00

5 lines
53 B
C

#if !defined foo MACRO
#define foo
int x = 2;
#endif