Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
395228fdc343df39c2507e414dc1406a185c6d37
/
test
/
SemaCXX
/
static-cast.cpp
d4c5f84
Implement appropriate semantics for C++ casting and conversion when
by Douglas Gregor
· 13 years ago
8e96043
Properly diagnose invalid casts to function references. Patch by
by Douglas Gregor
· 14 years ago
0c42bb6
'const std::type_info*' instead of 'std::type_info 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
7002f4c
Turn access control on by default in -cc1.
by John McCall
· 14 years ago
c6e378e
Switch static_cast from the old reference-initialization code (via
by Douglas Gregor
· 14 years ago
7c2342d
When pretty-printing tag types, only print the tag if we're in C (and
by John McCall
· 14 years ago
4ce46c2
Perform overload resolution when static_cast'ing from a
by Douglas Gregor
· 14 years ago
6b2accb
Improve access control diagnostics. Perform access control on member-pointer
by John McCall
· 15 years ago
e1cd337
Fix my dyslexia.
by Chandler Carruth
· 15 years ago
c099d9b
Add a test case for a fixed PR just to ensure we don't regress.
by Chandler Carruth
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
ab15d0e
When performing a static downcast as part of a static_cast, make sure
by Douglas Gregor
· 15 years ago
a82e4ae
- Have TryStaticImplicitCast set the cast kind to NoOp when binding a reference. CheckReferenceInit already inserts implicit casts to the necessary types. This fixes an assertion in CodeGen for some casts and brings a fix for PR5453 close, if I understand that bug correctly.
by Sebastian Redl
· 15 years ago
19aeac6
When type-checking a static cast (or the static_cast part of a C-style
by Douglas Gregor
· 15 years ago
5ed66f7
Try to instantiate templates before doing hierarchy checks in static_cast. Fixes PR5261.
by Sebastian Redl
· 15 years ago
9cc11e7
Implement C++ semantics for C-style and functional-style casts. This regresses Clang extension conversions, like vectors, but allows conversions via constructors and conversion operators.
by Sebastian Redl
· 15 years ago
7c94c4b
Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++.
by Argyrios Kyrtzidis
· 15 years ago
d7d5f02
Rename clang to clang-cc.
by Daniel Dunbar
· 15 years ago
7c80bd6
Almost complete implementation of rvalue references. One bug, and a few unclear areas. Maybe Doug can shed some light on some of the fixmes.
by Sebastian Redl
· 15 years ago
21593ac
Implement pointer to member handling in static_cast.
by Sebastian Redl
· 16 years ago
e3dc28a
Greatly improve static_cast diagnostics
by Sebastian Redl
· 16 years ago
4e84935
A small error message improvement and some comment cleanup for static_cast.
by Sebastian Redl
· 16 years ago
0777972
Implement semantic checking of static_cast and dynamic_cast.
by Sebastian Redl
· 16 years ago