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)
commit58db83d11d3150ae50ce82b171caa931ba3ab79e
tree20b298ee6fb13bcf6c96bc846fcce0a33c879311
parent5cb3f1097f318591ffd771bd6704931f7eebb4e2
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.

llvm-svn: 168818
clang/lib/Sema/TreeTransform.h
clang/test/SemaTemplate/instantiate-overload-candidates.cpp