]> granicus.if.org Git - clang/commit
PR13098: If we're instantiating an overloaded binary operator and we could
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Nov 2012 21:47:39 +0000 (21:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Nov 2012 21:47:39 +0000 (21:47 +0000)
commitf641166066c7053300cada4ca5c9e69ad1cd2358
treed5ae3d4ffe830591c1e18ecbf4970893a238af6f
parent2cbdd7d21e3902e568ce2a51a7459ab5a4fc236c
PR13098: If we're instantiating an overloaded binary operator and we could
determine which member function would be the callee from within the template
definition, don't pass that function as a "non-member function" to
CreateOverloadedBinOp. Instead, just rely on it to select the member function
for itself.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168818 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h
test/SemaTemplate/instantiate-overload-candidates.cpp