]> granicus.if.org Git - clang/commit
PR17533 and duplicates: don't compute the return type of an overloaded operator
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 15 Nov 2013 02:58:23 +0000 (02:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 15 Nov 2013 02:58:23 +0000 (02:58 +0000)
commitf93ec7608aa79f9aac09304bfd3bc1918caf128f
tree939608b973622fb55f06f6dd52f9a9e04c90b36d
parentf72bc468e54819393c1805f19cbf353061b4c0ec
PR17533 and duplicates: don't compute the return type of an overloaded operator
until after we've referenced the operator; otherwise, we might pick up a
not-yet-deduced type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194775 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/cxx1y-deduced-return-type.cpp