]> granicus.if.org Git - clang/commit
When we're type-checking the result of calling a conversion function
authorDouglas Gregor <dgregor@apple.com>
Sat, 13 Nov 2010 19:36:57 +0000 (19:36 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 13 Nov 2010 19:36:57 +0000 (19:36 +0000)
commit7d14d389f0539545715e756629127c1fe5a4773a
tree13e38175e5a6bc60b6b17ef9f9978235f15b0be1
parent5e3bc947e305b307c6bd8e5d49b5b06e2fe6bbf4
When we're type-checking the result of calling a conversion function
(while computing user conversion sequences), make sure that a result
of class type is a complete class type. Had we gone through
ActOnCallExpr, this would have happened when we built the CallExpr.

Fixes PR8425.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaTemplate/instantiate-complete.cpp