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
Warn if a variable marked with the "unused" attribute is used. Patch by Darin Adler!
2010-10-22
Anders Carl
s
son
Warn if a variable m
a
rked w
i
t
h
the "unuse
d
"
a
ttr
i
but
e
.
.
.
commit
|
commitdiff
|
tree
2010-10-22
A
nders Car
l
sson
Minor tweak so tha
t
fixit-errors
.
c is never
compiled
.
.
.
commit
|
commitdiff
|
tree
2010-10-20
Ander
s
C
arlsson
Ad
d
a __has_attribute macro that
w
o
r
k
s much l
i
ke __has_fe
a
tu
.
.
.
commit
|
commitdiff
|
tree
2010-10-18
Anders Carlsson
I
m
plement
t
he f
i
rst hal
f
of
[
d
c
l
.
a
t
t
r
.
o
v
err
i
de]p6
.
commit
|
commitdiff
|
tree
2010-10-17
Anders Carlsson
Impleme
n
t [dcl
.
attr
.
overri
d
e]p2 and
a
dd tests for p1
.
.
.
commit
|
commitdiff
|
tree
2010-10-17
Anders Carlsso
n
Add test for
[
d
cl
.
attr
.
fin
a
l]
p
4
.
commit
|
commitdiff
|
tree
2010-10-06
A
nde
r
s Carl
s
son
When checking for uniniti
a
liz
e
d fields
i
n mem
b
e
r
initializer
.
.
.
commit
|
commitdiff
|
tree
2010-10-02
Anders Carlsson
Us
e
ParseObjCSe
l
ectorPiece for
p
ar
s
i
ng ge
t
ter an
d
setter
.
.
.
commit
|
commitdiff
|
tree
2010-10-02
A
n
ders Carlsson
R
ename a tes
t
in p
r
epar
a
t
ion for
f
ixing
P
R8169
.
commit
|
commitdiff
|
tree
2010-09-24
Anders Carlsson
Allow the use of C++0x deleted functio
n
s as
an e
x
tensio
n
.
.
.
commit
|
commitdiff
|
tree
2010-09-03
A
nders Carlsson
It's OK for classes
t
o ha
v
e flexible array el
e
m
e
nts
.
.
.
commit
|
commitdiff
|
tree
2010-09-03
Anders Carls
s
on
Static local vari
a
bles do
n
't res
u
lt i
n
global co
n
structors
.
.
.
commit
|
commitdiff
|
tree
2010-09-03
Ande
r
s Carlsson
R
emov
e
now unused f
u
n
c
tion
.
commit
|
commitdiff
|
tree
2010-09-03
A
nde
r
s Carlsson
G
et r
i
d of the "functions declared 'nore
t
u
rn' should
.
.
.
commit
|
commitdiff
|
tree
2010-07-16
Anders Car
l
sson
W
h
en checking whe
t
he
r
to bind an exp
r
ession to
a temporary
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
Anders Carlsson
Correctly
destroy
r
efer
e
nce
t
emporar
i
es
wit
h
g
lobal
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
An
d
e
r
s Carlss
o
n
Add a Cre
a
t
e
Refere
n
c
e
Temporary that
w
ill do
t
h
e right
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
Ande
r
s C
a
rl
s
son
Simplify CodeGenFunction::E
m
i
t
ReferenceBindin
g
ToExpr
.
.
.
commit
|
commitdiff
|
tree
2010-06-27
A
n
ders Carlsson
Reduce ind
e
ntation
.
commit
|
commitdiff
|
tree
2010-06-26
Anders Carlsson
Change EmitReferen
c
eBindingToExpr
t
o
take a decl instea
d
.
.
.
commit
|
commitdiff
|
tree
2010-06-26
A
n
ders C
a
r
lsson
Add f
u
nction for mangl
i
ng reference temp
o
r
arie
s
.
commit
|
commitdiff
|
tree
2010-06-22
Anders Ca
r
lsson
S
witch over to the new
c
aching ve
r
sion of getMangledN
a
me
.
commit
|
commitdiff
|
tree
2010-06-22
A
nders
Carlsson
A
d
d a new v
a
r
i
a
nt of
g
etMang
l
ed
N
ame t
h
at caches the
.
.
.
commit
|
commitdiff
|
tree
2010-06-22
Ande
r
s
Carls
s
o
n
Add Global
D
ecl::g
e
tCano
n
icalDecl
.
commit
|
commitdiff
|
tree
2010-06-21
A
n
ders Carlsson
Fix
an
O
bj-C++ miscompile when call
i
ng an Obj-C
m
e
t
hod
.
.
.
commit
|
commitdiff
|
tree
2010-06-13
An
d
ers Carls
s
on
Do the s
a
me short-cir
c
uit optimi
z
at
i
on when layin
g
.
.
.
commit
|
commitdiff
|
tree
2010-06-13
Anders Carlsson
I
m
ple
m
ent
pa
r
t
o
f
the Emp
t
ySubobject
M
ap
o
p
t
imiz
a
tion
.
.
.
commit
|
commitdiff
|
tree
2010-06-09
Anders Ca
r
lsson
Get rid of getMangledCX
X
C
torName and ge
t
Mangled
C
XXDtorName
.
commit
|
commitdiff
|
tree
2010-06-09
Anders
C
arlsson
More man
g
ling clean
u
p
.
commit
|
commitdiff
|
tree
2010-06-09
A
nders Ca
r
ls
s
o
n
Ge
t
ri
d
of an unn
e
cess
a
r
y
getMangledName over
l
oad
.
commit
|
commitdiff
|
tree
2010-06-09
And
e
rs
Carlsso
n
Fix test
.
commit
|
commitdiff
|
tree
2010-06-08
Ande
r
s
Ca
r
l
sson
T
r
y
t
o fix
buildb
o
t
t
e
sts
.
commit
|
commitdiff
|
tree
2010-06-08
And
e
rs Carlsson
A
d
d
test
c
a
se
.
commit
|
commitdiff
|
tree
2010-06-08
Anders Car
l
sson
On Darwi
n
, initiali
z
ation
and destr
u
ction fu
n
cti
o
ns
.
.
.
commit
|
commitdiff
|
tree
2010-06-08
Anders Carlsson
Add a
gl
o
bal CreateGlobalI
n
i
t
OrDestructFu
n
ction and
.
.
.
commit
|
commitdiff
|
tree
2010-06-08
A
n
ders Carlss
o
n
Rena
m
e __tcf_
t
o
_
_cxx_global_array_dtor
.
Remove the
.
.
.
commit
|
commitdiff
|
tree
2010-06-08
Anders Carlsson
Move Gener
a
teCXXAggr
D
estructorHelper to CGDeclCXX
.
cpp
.
.
.
commit
|
commitdiff
|
tree
2010-06-08
A
nde
r
s C
a
rlsson
Sim
p
lify GenerateCXX
A
ggrDestruct
o
rHel
p
er
.
commit
|
commitdiff
|
tree
2010-06-08
A
n
ders Carls
s
on
Update Xcode project
.
commit
|
commitdiff
|
tree
2010-06-08
Ande
r
s
Carlsson
Co
r
rectly handle
fields wi
t
h virtual bases cont
a
ining
.
.
.
commit
|
commitdiff
|
tree
2010-06-08
Anders Ca
r
l
s
son
W
he
n
c
hecking wheth
e
r we
c
an place
a
base s
u
bo
b
ject
.
.
.
commit
|
commitdiff
|
tree
2010-06-08
Ande
r
s Carlsso
n
Mino
r
c
le
a
nup
s
t
o
the empty s
u
bobject map
.
commit
|
commitdiff
|
tree
2010-06-08
A
n
ders Carlsson
Correctly
m
ang
l
e
s
tatic variables of an
o
nymo
u
s struc
t
.
.
.
commit
|
commitdiff
|
tree
2010-06-04
Anders Carlsson
When deciding whether re
i
n
terpr
e
t_
c
ast casts a
w
ay
c
onstness
.
.
.
commit
|
commitdiff
|
tree
2010-06-04
Anders
C
a
rlsson
Add a sh
o
r
t
cir
c
u
it i
n
i
s
Virtu
a
llyDerivedFr
o
m
.
commit
|
commitdiff
|
tree
2010-06-04
Anders Carlsson
Remove now u
n
used code
.
commit
|
commitdiff
|
tree
2010-06-04
And
e
rs
C
arl
s
s
o
n
Use C
X
XRecordDecl::getFinalOverrid
e
rs to
get final
.
.
.
commit
|
commitdiff
|
tree
2010-06-03
A
n
ders Car
l
sson
Don't tr
y
to explicitl
y
zero out bit-fi
e
ld
s
.
commit
|
commitdiff
|
tree
2010-06-03
Ander
s
Carlsson
Add all final overriders to the map
.
commit
|
commitdiff
|
tree
2010-06-02
Ande
r
s Carlsson
Don't s
u
bstitute 'St'
f
or 'std' whe
n
the namespace
.
.
.
commit
|
commitdiff
|
tree
2010-06-02
A
n
d
ers Carlsson
When building RTTI de
s
cr
i
ptors
for poin
t
er t
y
p
e
s
,
we
.
.
.
commit
|
commitdiff
|
tree
2010-06-02
A
nders Carlsson
C
o
rrectl
y
mang
l
e unsigned i
n
teger
l
iterals where the
.
.
.
commit
|
commitdiff
|
tree
2010-06-02
Anders Carlsso
n
C
o
r
rectl
y
m
a
n
g
le variadic fun
c
tions that do
n
't have
.
.
.
commit
|
commitdiff
|
tree
2010-06-02
Anders
Carlsson
When mangling memb
e
r function point
e
rs,
fake adding
.
.
.
commit
|
commitdiff
|
tree
2010-06-01
Anders Carlsson
More
cleanup
.
commit
|
commitdiff
|
tree
2010-06-01
Ander
s
C
arlsson
Mor
e
clean
u
p
.
commit
|
commitdiff
|
tree
2010-06-01
A
n
d
e
rs Carlsson
Cleanup
.
commit
|
commitdiff
|
tree
2010-05-30
An
d
ers Carlsson
R
e
m
ove unused para
m
eter to FinalOver
r
iders::Prop
a
gateOver
r
ider
.
commit
|
commitdiff
|
tree
2010-05-30
Ande
r
s
Carlsson
A
n
d now for the best part: Removi
n
g t
h
e old
code
.
commit
|
commitdiff
|
tree
2010-05-30
Anders Car
l
sson
Turn on the new e
m
pty base subobje
c
t t
r
acking code
.
.
.
commit
|
commitdiff
|
tree
2010-05-29
Anders Carl
s
son
C
l
e
a
n
u
p
.
commit
|
commitdiff
|
tree
2010-05-29
A
n
der
s
Carlsso
n
Make E
m
ptySu
b
obje
c
tMap::CanPlace
B
a
seAtOffset
take a
.
.
.
commit
|
commitdiff
|
tree
2010-05-29
A
n
ders Carlsson
Change
R
e
co
r
dLayoutBuild
e
r::
L
ay
o
u
t
Base to take a BaseSubob
j
e
.
.
.
commit
|
commitdiff
|
tree
2010-05-29
A
n
d
e
rs Carlsson
Re
w
ork the wa
y
vir
t
u
a
l
pri
m
ary base
s
are added
w
he
n
.
.
.
commit
|
commitdiff
|
tree
2010-05-29
And
e
rs Carlsson
Change
LayoutVir
t
u
a
l
Base to
a
lso take
a
BaseSubo
b
j
ectIn
f
o
.
commit
|
commitdiff
|
tree
2010-05-29
An
d
ers Carlsson
Change RecordL
a
youtBuilder::LayoutN
o
nVirtua
l
Bas
e
to
.
.
.
commit
|
commitdiff
|
tree
2010-05-29
Anders C
a
rlsson
Move computi
n
g t
h
e base
sub
o
b
j
ect info for a class
.
.
.
commit
|
commitdiff
|
tree
2010-05-28
Anders C
a
rlsson
R
e
n
a
m
e BaseInfo to B
a
s
eSubobjectInfo
.
commit
|
commitdiff
|
tree
2010-05-28
Anders Carlss
o
n
Move Bas
e
Info outs
i
de of the
EmptySubobject class
.
commit
|
commitdiff
|
tree
2010-05-27
Anders
C
a
rlsson
Wh
e
n null-initia
l
i
zing ba
s
es w
i
th d
a
ta
member pointers
.
.
.
commit
|
commitdiff
|
tree
2010-05-27
Anders
C
arlsson
More
w
or
k
on the empty subo
b
ject
m
a
p
.
T
h
is cod
e
i
s
.
.
.
commit
|
commitdiff
|
tree
2010-05-27
An
d
e
rs Carlsso
n
Anoth
e
r
e
m
pty class la
y
out test
.
commit
|
commitdiff
|
tree
2010-05-27
Anders
Carlsson
A
dd m
o
re
em
p
t
y
cla
s
s
l
a
y
o
ut tests
.
commit
|
commitdiff
|
tree
2010-05-27
A
nders
Carlsson
Mo
r
e wo
r
k on the new
empty
sub
o
bject map
.
commit
|
commitdiff
|
tree
2010-05-27
An
d
ers C
a
r
l
sson
M
ore work
o
n
t
he
e
mpty
subo
b
ject
s
map
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Ca
r
lss
o
n
Up
d
at
e
.
x
c
odeproj file
.
commit
|
commitdiff
|
tree
2010-05-26
An
d
ers C
a
rls
s
on
Move Compute
E
mptySub
o
b
j
ec
t
Si
z
es to E
m
ptySubobjectMap
.
commit
|
commitdiff
|
tree
2010-05-26
Anders
Carlsson
Stub out t
h
e Em
p
tyS
u
bobjects
M
ap class
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
Inline the Recor
d
LayoutBuilder c
o
nstr
u
ctor
.
commit
|
commitdiff
|
tree
2010-05-26
A
n
ders
C
a
r
lss
o
n
Add
a L
a
yout overload that takes a CXXRec
o
rdDecl
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
Ren
a
me
A
STReco
r
dLayoutBuild
e
r to Recor
d
LayoutBuil
d
e
r
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
R
e
m
o
ve RecordLayou
t
Bui
l
d
er
.
h
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlsson
Move
t
he
A
S
T
RecordLayoutBuilder cla
s
s dec
l
aration into
.
.
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carlss
o
n
ASTReco
r
d
La
y
o
u
t
B
uilder is
n
o lon
g
er a fr
i
end
o
f ASTRecordLayo
u
t
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carls
s
on
Fix
thinko and
r
emove
a
nothe
r
unused funct
i
o
n
.
commit
|
commitdiff
|
tree
2010-05-26
Anders
C
ar
l
sson
F
ix
b
u
i
ld
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Carl
s
s
o
n
No n
e
ed
to use th
e
Prima
r
yBaseInfo
s
truct in the
b
uilder
.
commit
|
commitdiff
|
tree
2010-05-26
Anders Ca
r
lsson
Remove FIXME
.
commit
|
commitdiff
|
tree
2010-05-26
A
n
ders
C
a
rls
s
on
F
o
ld the other L
a
yout ove
r
load into its sole
c
all s
i
te
.
commit
|
commitdiff
|
tree
2010-05-26
A
nders Ca
r
lsson
F
old the ASTR
e
cordLay
o
utBuild
e
r::
C
omputeLayout ov
e
rload
.
.
.
commit
|
commitdiff
|
tree
2010-05-26
An
d
e
r
s Carls
s
on
Move the relevant ASTConte
x
t m
e
m
ber functi
o
ns
th
a
t
.
.
.
commit
|
commitdiff
|
tree
2010-05-23
Anders Carlsson
Whe
n
recordin
g
empt
y
subobje
c
ts
w
e should always
l
o
ok
.
.
.
commit
|
commitdiff
|
tree
2010-05-22
Anders Carls
s
on
Re
a
ll
y
fix PR
7
139
.
Th
e
re was one boos
t
test
that we
.
.
.
commit
|
commitdiff
|
tree
2010-05-22
Anders Carlsson
Re-land the fix
f
o
r PR7139
.
commit
|
commitdiff
|
tree
2010-05-21
Anders Carlsson
Unbreak self-host
.
commit
|
commitdiff
|
tree
2010-05-21
Anders Carlsson
Rename
CodeGenFunction::EmitM
e
mSetToZero to EmitNullIn
i
tiali
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
Anders Carlsson
Correctly
i
niti
a
lize b
a
ses with member pointers
.
This
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
And
e
rs
Carlsson
Keep tr
a
c
k of the LLVM
f
ield numbers
f
or non-v
i
rtual
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
Anders Carlsson
Sta
r
t laying
o
ut base
s
as in
d
ividual fields
.
We still
.
.
.
commit
|
commitdiff
|
tree
2010-05-18
Anders
Carlsson
Add Code
G
enType
s
::Cont
a
insPoin
t
e
r
ToDataMember overload
.
.
.
commit
|
commitdiff
|
tree
next