]> granicus.if.org Git - clang/commit
For internal consistency's sake, compute the value kind of a dependent cast
authorJohn McCall <rjmccall@apple.com>
Fri, 26 Nov 2010 10:57:22 +0000 (10:57 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 26 Nov 2010 10:57:22 +0000 (10:57 +0000)
commita21e06cb62dbd806073f646e756e89d8e23fc1c3
tree8d917f3e21d4562f61cac71c840839252055b949
parent110eaf156121760073fe6af6b3b0ed09be0cc0ce
For internal consistency's sake, compute the value kind of a dependent cast
based on the known properties of the casted-to type.  Fixes a crash on spirit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120180 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
test/SemaTemplate/dependent-expr.cpp