This website requires JavaScript.
Explore
Help
Sign In
replica
/
hanchenye-llvm-project
Watch
2
Star
0
Fork
You've already forked hanchenye-llvm-project
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
c536850526
hanchenye-llvm-project
/
clang
/
test
/
ASTMerge
/
Inputs
/
class2.cpp
14 lines
94 B
C++
Raw
Normal View
History
Unescape
Escape
Hack in some really terrible C++ record PCH support that I need right now. This is required in order to test: The ASTImporter should set base classes after formally entering the definition. llvm-svn: 105401
2010-06-04 03:28:45 +08:00
struct
A
{
int
x
;
}
;
struct
B
:
A
{
int
y
;
int
foo
(
)
;
}
;
Don't add an imported function into its lexical context until *after* we've set all of its parameters. Fixes <rdar://problem/8499598>; thanks to Sean for the diagnosis. llvm-svn: 115387
2010-10-02 07:55:07 +08:00
Fix code that attempted to produce a diagnostic with one DiagnosticEngine, then produce a note for that diagnostic either with a different DiagnosticEngine or after calling DiagnosticEngine::Reset(). That didn't make any sense, and did the wrong thing if the original diagnostic was suppressed. llvm-svn: 170636
2012-12-20 10:22:15 +08:00
enum
E
{
a
=
0
,
b
=
1
}
;