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
c8cd29fb7e
llvm-project
/
clang
/
test
/
PCH
/
Inputs
/
chain-decls1.h
12 lines
116 B
C
Raw
Normal View
History
Unescape
Escape
Correctly deal with using names for both functions and structs in chained PCH. llvm-svn: 109871
2010-07-31 01:25:10 +08:00
void
f
(
)
;
struct
one
{
}
;
void
two
(
)
;
Query only the latest version of an identifier in the PCH chain. Make sure this version holds the entire declaration chain. This is a much saner solution than trying to merge the info from all elements, and makes redeclarations work properly. Expand the declarations test case to cover more compliated cases. llvm-svn: 110052
2010-08-03 02:30:12 +08:00
void
many
(
int
i
)
;
struct
many
;
void
many
(
int
j
)
;
struct
many
;
void
noret
(
)
;