repo.or.cz
/
clang.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Inline the RecordLayoutBuilder constructor.
2010-05-26
Anders C
a
rlsson
Inline the Reco
r
dLayoutBuil
d
er c
o
nstructor
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carls
s
on
Add a Layout overload that
t
akes a CXXRecord
D
ecl
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
Rename AST
R
ecordLay
o
u
t
Bui
l
der t
o
RecordLayout
B
uilder
.
commit
|
commitdiff
|
tree
2010-05-26
Anders
C
arlsson
Remove
R
ecor
d
L
a
you
t
Builder
.
h
commit
|
commitdiff
|
tree
2010-05-26
A
n
d
e
r
s
Carlsson
Move the ASTRecord
L
a
y
o
u
tBuilder class declar
a
tion into
.
.
.
commit
|
commitdiff
|
tree
2010-05-26
Ande
r
s Carlsson
ASTRecord
L
ayo
u
tBuilder is
n
o long
e
r a friend of ASTRecordLayou
t
.
commit
|
commitdiff
|
tree
2010-05-26
Anders
C
arlsson
F
i
x thinko and remove another unused function
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
Fix build
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
No need to use
t
he Primar
y
BaseInfo struc
t
in the builder
.
commit
|
commitdiff
|
tree
2010-05-26
Ander
s
C
arlss
o
n
Remove FI
X
ME
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Car
l
sson
F
old the othe
r
Layout
o
v
erloa
d
into
i
ts s
o
le call sit
e
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlss
o
n
Fol
d
the ASTRecordLayoutBuilder::Compu
t
e
L
ayout o
v
erload
.
.
.
commit
|
commitdiff
|
tree
2010-05-26
A
nders Carlsson
Move the relevan
t
ASTContext member fun
c
tions that
.
.
.
commit
|
commitdiff
|
tree
2010-05-23
Anders
C
arlsson
Wh
e
n rec
o
rding
empty subobjects we shoul
d
a
l
ways look
.
.
.
commit
|
commitdiff
|
tree
2010-05-22
A
n
ders C
a
rlsson
Rea
l
ly fix PR7139
.
There was one b
o
ost test that
w
e
.
.
.
commit
|
commitdiff
|
tree
2010-05-22
Anders Carlsso
n
Re
-
land
t
he fix f
o
r PR7139
.
commit
|
commitdiff
|
tree
2010-05-21
An
d
ers Car
l
sso
n
Unbreak
s
elf-host
.
commit
|
commitdiff
|
tree
2010-05-21
Anders Carl
s
son
Rename CodeGenFunction::
E
mitMem
S
etToZero to EmitNullInitia
l
i
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
Anders Carlsson
Corre
c
tly
initialize
b
ases
w
ith member
pointers
.
This
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
Anders Carlsson
K
eep track of the LLVM
field numbers for non-virtual
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
Anders Carlsson
Start lay
i
ng ou
t
bases as
i
n
div
i
dual fields
.
We st
i
ll
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
A
n
ders Carlsson
Add Co
d
e
GenTypes::Cont
a
insPointerToDataM
e
mber
o
verload
.
.
.
commit
|
commitdiff
|
tree
2010-05-16
Anders
C
arlsson
Correctly dia
g
nose array 'new' with
initializa
t
io
n
.
.
.
commit
|
commitdiff
|
tree
2010-05-14
Anders
C
ar
l
s
son
Remove an unused function
.
commit
|
commitdiff
|
tree
2010-05-14
A
n
d
e
rs Carlsson
M
ove Contai
n
sPointe
r
ToDataMember to CodeGenTypes
.
No
.
.
.
commit
|
commitdiff
|
tree
2010-05-14
Anders Ca
r
l
sson
M
ake
sure that value-initialized
pointers
t
o
data members
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Anders Carls
s
on
A
d
d an
U
pd
a
te
V
Bases p
a
rameter
t
o
U
pd
a
teEmptyClassOffsets
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Anders Carlsson
More work on handling empt
y
cl
a
s
ses
.
commit
|
commitdiff
|
tree
2010-05-09
Anders Carlsson
Cleanup
.
commit
|
commitdiff
|
tree
2010-05-08
A
n
de
r
s
C
a
rlsson
A
c
t
u
ally compute the
em
p
ty
subobject
si
z
es
.
No
functionality
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Anders Carlsson
Add a
SizeOfLargestEmptyS
u
bobject
member to
ASTRe
c
ordLayo
u
t
.
.
.
commit
|
commitdiff
|
tree
2010-05-05
An
d
ers
C
a
rlsson
Use
a
more appropriate
LLVM type for the vtable pointer
.
commit
|
commitdiff
|
tree
2010-05-03
Anders C
a
rlsson
Wh
e
n com
p
uting the
address of a virtual member
f
u
n
ction
.
.
.
commit
|
commitdiff
|
tree
2010-05-03
Anders
C
a
rlsson
Get rid of virt
.
c
pp
.
commit
|
commitdiff
|
tree
2010-05-03
Anders Ca
r
lsson
The ar
r
ay form
of 'new' can never have initi
a
li
z
ers
.
commit
|
commitdiff
|
tree
2010-05-03
Anders Carlss
o
n
Don't build an aggregate c
o
nstruct
o
r lo
o
p when the
.
.
.
commit
|
commitdiff
|
tree
2010-05-03
Anders Carlss
o
n
Add
test case that I forgot
t
o check in
.
commit
|
commitdiff
|
tree
2010-05-03
And
e
rs
C
arls
s
o
n
S
implify
.
commit
|
commitdiff
|
tree
2010-05-03
Anders Carlsson
Don't copy or initialize emp
t
y classes
.
F
i
xes PR7012
.
commit
|
commitdiff
|
tree
2010-05-03
Anders
C
arlsson
S
t
o
r
e
t
he
ent
i
r
e
b
ase subobject
i
n
Sub
V
TTInd
i
ces
.
commit
|
commitdiff
|
tree
2010-05-03
And
e
rs Carlsson
Remove
O
ld
G
etAddressO
f
B
a
seClass - bye
by
e
ambi
g
uities
.
commit
|
commitdiff
|
tree
2010-05-03
A
nders Carlsson
Get rid
of the
l
as
t
calle
r
of OldGetAddres
s
O
fBa
s
eClass
.
commit
|
commitdiff
|
tree
2010-05-03
A
n
ders
C
arlss
o
n
More work tow
a
rds
get
t
ing rid of Ol
d
GetAd
d
r
e
ss
O
fBa
s
e
C
lass
.
commit
|
commitdiff
|
tree
2010-05-02
A
n
de
r
s Carlsson
Get rid of a call to GetAddress
O
fDirectBa
s
eInC
o
mp
l
eteClass
.
commit
|
commitdiff
|
tree
2010-05-02
Anders Ca
r
lsson
Have getSubVTTIndex take a
B
aseSubobject instead of
.
.
.
commit
|
commitdiff
|
tree
2010-05-02
A
n
ders Carlsso
n
C
h
an
g
e CXXConstructExpr::Cr
e
ate to tak
e
a Constructi
o
n
K
i
n
d
.
commit
|
commitdiff
|
tree
2010-05-02
Anders Carl
s
son
Pas
s
F
orVirtualBase
all the
w
ay
t
o GetVTTP
a
rame
t
er
.
commit
|
commitdiff
|
tree
2010-05-02
Ander
s
Carlsson
Add the same 'ForV
i
rtualBase' parameter
t
o Em
i
t
CXXDestructor
.
.
.
commit
|
commitdiff
|
tree
2010-05-02
Anders Carlsson
Revert my last chan
g
e
and add a 'ForVirtu
a
lBase' parameter
.
.
.
commit
|
commitdiff
|
tree
2010-05-02
A
nders
C
a
rlsson
Pass the
c
onstruc
t
ion kind down to E
m
it
C
XXConstr
u
ctorCa
l
l
.
commit
|
commitdiff
|
tree
2010-05-02
Anders Carlss
o
n
Add
a
n en
u
m
to CXXCo
n
structExpr so
w
e can de
t
ermine
.
.
.
commit
|
commitdiff
|
tree
2010-05-02
Ander
s
C
arlsson
Remove a
n
other unused functi
o
n
.
commit
|
commitdiff
|
tree
2010-05-02
An
d
ers
C
arlsson
Re
m
ove an u
n
u
s
ed
f
unction
.
commit
|
commitdiff
|
tree
2010-05-01
Anders Ca
r
lsson
S
implify EmitCopyCtorCall
.
commit
|
commitdiff
|
tree
2010-05-01
Anders C
a
rlsson
Simplify EmitClassAggrMemberwiseCopy
.
commit
|
commitdiff
|
tree
2010-05-01
Anders
C
arlsson
Cl
e
an up
E
m
i
tClassMemberwi
s
e
Copy further
.
commit
|
commitdiff
|
tree
2010-05-01
Anders Carlsson
Get rid of
a
parameter
f
rom EmitClassMemberwiseCopy
.
commit
|
commitdiff
|
tree
2010-05-01
Anders Ca
r
lsson
When defi
n
ing implicit copy constructors, use SetBaseOrMembe
.
.
.
commit
|
commitdiff
|
tree
2010-04-30
A
nders Ca
r
lsson
R
emove an unnecessary parame
t
er from
E
mitClassCopyAs
s
ignment
.
commit
|
commitdiff
|
tree
2010-04-30
Ande
r
s Carlsson
Get
the
b
a
s
e
class addr
e
sses
b
efore cal
l
ing
E
mit
C
l
a
ssCop
y
As
s
.
.
.
commit
|
commitdiff
|
tree
2010-04-29
And
e
rs Carlsson
Remov
e
an unneces
s
ary ar
g
u
m
e
n
t to EmitClassCopyAs
s
ignment
.
commit
|
commitdiff
|
tree
2010-04-25
A
nders Carlsson
Land
a
no
t
her cl
e
a
n
up patch
.
commit
|
commitdiff
|
tree
2010-04-25
A
n
ders C
a
rl
s
son
La
n
d th
i
s test
.
commit
|
commitdiff
|
tree
2010-04-25
An
d
er
s
Car
l
sson
Rev
e
rt e
n
ough of
my p
a
tches to f
i
x self-ho
s
t again :(
commit
|
commitdiff
|
tree
2010-04-24
Anders
Carlsson
Cleanup Synthesiz
e
C
X
XCopyConstructor
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Car
l
sso
n
Clean u
p
Synthe
s
izeCXXCopyAssignme
n
t a little
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
C
arlsson
Renam
e
Get
A
dd
r
essOf
B
as
e
OfCompleteClass to GetAddressOfD
i
r
e
ctB
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
C
a
r
l
s
son
Add an explicit UsuallyTinyPtrVector that
t
a
kes a si
n
gle
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
Carlsson
Mo
r
e
cleanup
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Carlsson
Simplify
EmitCla
s
s
Memb
e
r
wiseCop
y
now
t
h
at it'
s
o
n
ly
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
A
nde
r
s Carlsso
n
D
e
fineImplicitCopy
C
onstruc
t
or
n
ow
u
s
e
s
S
e
tBaseOrM
e
mbe
r
Init
i
a
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Carl
s
son
W
he
n
build
i
ng implicit b
a
se
initializers, add a derived
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
C
a
r
l
sson
Rename
GetAddre
s
sOfBaseClas
s
to OldGetAddr
e
ss
O
fBase
C
las
s
.
commit
|
commitdiff
|
tree
2010-04-24
A
nders Carlsso
n
Get rid of t
h
e old Ge
t
NonVirtualBaseClassOffset and
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Ca
r
lsson
Change Cod
e
G
enFunction::GetAddressOfDe
r
i
v
edC
l
ass to
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Carlsson
Conve
r
t
more call sites over to the new GetA
d
dressOfBaseCla
s
s
.
commit
|
commitdiff
|
tree
2010-04-24
A
nde
r
s Carlss
o
n
Add
a
n
ew
G
etAddre
s
sOfBa
s
eClass ov
e
rload that takes
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Carlsson
Add
b
a
s
e paths for CK_Bas
e
ToDerived and CK_
B
a
se
T
oDe
r
ivedMe
m
b
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
And
e
rs C
a
r
lsson
Ad
d
base
paths to CK_
U
ncheckedDeriv
e
dToBas
e
and
CK_DerivedTo
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
And
e
r
s C
a
rlsson
Actuall
y
p
roduce ba
s
e paths for CastExprs of ki
n
d
CK_Der
i
ved
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Carlsso
n
Add Base
P
at
h
a
r
guments to a
l
l
cas
t
expr c
o
nstructor
s
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
C
arlsson
P
a
ss the
b
as
e
specifiers
t
hr
o
ugh
t
o CheckDe
r
ivedToBaseC
o
nver
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
C
arlsson
C
a
stExpr should not h
o
ld a
pointer to the
b
ase p
a
th
.
.
.
commit
|
commitdiff
|
tree
2010-04-24
Anders
C
arlsson
isValue is
s
e
t
to false by default
.
commit
|
commitdiff
|
tree
2010-04-24
Anders Carlsso
n
Rename InheritancePa
t
h
to Ba
s
ePath, renam
e
Cas
t
E
xpr
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
Anders
Car
l
sson
Add an InheritancePath parameter
t
o the
I
m
p
l
icitCastExpr
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
Anders
C
arlsson
De
s
troy t
h
e inheritance pa
t
h
.
commit
|
commitdiff
|
tree
2010-04-23
A
nders Car
l
s
son
Add
an inheritance path member var
i
abl
e
to
C
a
s
tE
x
p
r
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
Anders
Carlsson
T
u
rn CXXMet
h
odVec
t
or into a generic class temp
l
ate
.
commit
|
commitdiff
|
tree
2010-04-23
And
e
rs Carlsson
Cleanup
.
commit
|
commitdiff
|
tree
2010-04-23
Ande
r
s C
a
rlsson
Handle copy initialization
in Buil
d
ImplicitMemberInitializer
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
Anders Car
l
ss
o
n
A
d
d
a
n
o
ther 'cat
c
h all' access diagnos
t
ic
.
commit
|
commitdiff
|
tree
2010-04-23
Ande
r
s Carl
s
so
n
Add
a
n Impl
i
citInitializerKind
e
n
u
m a
n
d
p
ass i
t
t
o
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
Anders Carlsson
Fix a think
-
o
tha
t
br
o
ke self-host
.
commit
|
commitdiff
|
tree
2010-04-23
Anders Car
l
sson
Cha
n
ge the 'declared at' diagnost
i
c to say 'de
c
lar
e
d
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
Anders
C
a
rlsson
Fac
t
o
r
code to in
i
tial
i
z
e an
i
mpli
c
i
t member out i
n
to
.
.
.
commit
|
commitdiff
|
tree
2010-04-23
An
d
e
rs
Carlsson
Remo
v
e calls to isDependentContext, sin
c
e
we ha
n
dle
.
.
.
commit
|
commitdiff
|
tree
2010-04-22
Ander
s
Carlss
o
n
Re-land the patch
that m
e
rge
s
t
w
o di
a
gn
o
stics i
n
to
.
.
.
commit
|
commitdiff
|
tree
2010-04-22
Anders Carls
s
on
Unify two diagnostics
i
nto one
.
commit
|
commitdiff
|
tree
2010-04-21
A
n
ders Carlsson
R
emove a
n
u
n
used
declaration
.
commit
|
commitdiff
|
tree
next