]> granicus.if.org Git - clang/commit
Switch static_cast from the old reference-initialization code (via
authorDouglas Gregor <dgregor@apple.com>
Wed, 24 Mar 2010 23:38:29 +0000 (23:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 24 Mar 2010 23:38:29 +0000 (23:38 +0000)
commitc6e378e7d4e14b451f50158968d012dace6646d2
treeff0893fce4e6195d75bb69d86137a880ba4f58a7
parentf748845b19813d81189283f76778cfc870f6cfd7
Switch static_cast from the old reference-initialization code (via
CheckReferenceInit) over to the new initialization code
(InitializationSequence), which is better-tested and doesn't require
us to compute the entire conversion sequence twice.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99452 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
test/SemaCXX/static-cast.cpp