This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
a3d3fe9be6
llvm-project
/
clang
/
test
/
PCH
/
Inputs
/
chain-macro-override1.h
6 lines
93 B
C
Raw
Normal View
History
Unescape
Escape
Make macro weirdness in chained PCH work. This required changing the way PCHReader and PCHWriter are initialized to correctly pick up all initializer. On the upside, this means that there is far less repetition in the dependent PCH now. llvm-svn: 109823
2010-07-30 08:29:29 +08:00
void
f
(
)
__attribute__
(
(
unavailable
)
)
;
void
g
(
)
;
#
define g() f()
#
define h() f()
When an identifier that has a macro definition in the original PCH file is somehow changed in a chained PCH file, make sure that we write out the macro definition. Fixes part of <rdar://problem/8499034>. llvm-svn: 115259
2010-10-01 09:03:07 +08:00
#
define x x