repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
ASTMerge
/
class
/
Inputs
/
class2.cpp
blob
6fe38b9206629d3dfd0fc84c958b9a17d07afa4c
1
struct
A
{
2
public
:
3
int
x
;
4
};
5
6
struct
B
:
A
{
7
int
y
;
8
int
foo
();
9
};
10
11
enum
E
{
12
a
=
0
,
13
b
=
1
14
};
15
16
//Friend import tests
17
void
f
();
18
int
g
(
int
a
);
19
struct
X
;
20
struct
Y
;
21
22
struct
F1
{
23
public
:
24
int
x
;
25
friend
struct
X
;
26
friend
int
g
(
int
);
27
friend
void
f
();
28
};
29
30
struct
F2
{
31
public
:
32
int
x
;
33
friend
struct
X
;
34
};
35
36
struct
F3
{
37
public
:
38
int
x
;
39
friend
void
f
();
40
};