Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9e36b533af1b2fa9f32c4372c4081abdd86f47e0
/
test
/
SemaCXX
/
reinterpret-cast.cpp
1f8f2d5
Fix a bug in -Wundefined-reinterpret-cast where we failed to look
by Chandler Carruth
· 14 years ago
f4bbbf0
Add a warning for when reinterpret_cast leads to undefined behavior, patch by Richard Trieu!
by Argyrios Kyrtzidis
· 14 years ago
bb29d1b
Don't allow reinterpret_cast to reference of vector element and property expression. Thanks goes to Eli Friedman!
by Argyrios Kyrtzidis
· 14 years ago
b464a5b
reinterpret_cast to reference of a bit-field is not allowed.
by Argyrios Kyrtzidis
· 14 years ago
d4c5f84
Implement appropriate semantics for C++ casting and conversion when
by Douglas Gregor
· 14 years ago
c79f767
tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies.
by Daniel Dunbar
· 14 years ago
66cf2d1
print "const intptr_t" instead of "intptr_t const"
by Chris Lattner
· 14 years ago
58f9e13
make clang print types as "const int *" instead of "int const*",
by Chris Lattner
· 14 years ago
52647c6
When deciding whether reinterpret_cast casts away constness we need to look at array qualifiers. Fixes rdar://problem/8018292.
by Anders Carlsson
· 15 years ago
7c2342d
When pretty-printing tag types, only print the tag if we're in C (and
by John McCall
· 15 years ago
a873dfc
Implement the lvalue-to-rvalue conversion where needed. The
by Douglas Gregor
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
f1cd5e5
Use intptr_t rather than long so that this test will not fail on LLP64 systems,
by Sean Hunt
· 15 years ago
76d69bb
CastsAwayConstness shouldn't care if member pointers point into different classes. Fixes PR5545.
by Sebastian Redl
· 15 years ago
7c94c4b
Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++.
by Argyrios Kyrtzidis
· 16 years ago
d7d5f02
Rename clang to clang-cc.
by Daniel Dunbar
· 16 years ago
db64728
Add handling of member pointers to reinterpret_cast.
by Sebastian Redl
· 16 years ago
2f639b9
Semantic analysis for C++ reinterpret_cast and const_cast. Patch by Sebastian Redl.
by Douglas Gregor
· 16 years ago