]> granicus.if.org Git - clang/commit
In Sema's TryRefInitWithConversionFunction, suppress user conversions for the overloa...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 5 Oct 2010 03:05:30 +0000 (03:05 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 5 Oct 2010 03:05:30 +0000 (03:05 +0000)
commitb72db8977ed032d6425045d7e9d36e49d9b2d3f8
treec55b8a25f8e05471dc2c9116c95f48475f32b068
parent0680e97465a5d0ef78fd71ea7b806d9df239b3ca
In Sema's TryRefInitWithConversionFunction, suppress user conversions for the overload candidates.
Fixes an infinite recursion in overload resolution for rdar://8499524.
Many thanks to Doug!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115588 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-var.cpp