]> granicus.if.org Git - clang/commit
Switch the checking of implicit casts for static_cast, C-style, and
authorDouglas Gregor <dgregor@apple.com>
Fri, 16 Apr 2010 19:30:02 +0000 (19:30 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 16 Apr 2010 19:30:02 +0000 (19:30 +0000)
commitf0e43e5c4634870b8ac7bf65d5ffa5f292d4c8a5
tree7457722861d80cfc109b40a3cc3c1d6c81de0774
parent0ade808e0ac411baa2dbc1f76ad352b9b6d6d3f8
Switch the checking of implicit casts for static_cast, C-style, and
functional casts over to InitializationSequence, eliminating a caller
of Sema::TryImplicitConversion. We also get access and ambiguity
checking "for free".

More cleanups to come in this routine.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101526 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaInit.cpp