recommit c77a4078e01033aa2206c31a579d217c8a07569b with fix
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Fri, 24 Apr 2020 20:41:24 +0000 (16:41 -0400)
committerYaxun (Sam) Liu <yaxun.liu@amd.com>
Tue, 28 Apr 2020 13:14:13 +0000 (09:14 -0400)
commit55bcb96f3154808bcb5afc3fb46d8e00bf1db847
treea58e2c7b8e85b2083d71d5cc2c236f00b260cdf3
parent44ad58b9915d29eb48be4f89368be6d30d174825
recommit c77a4078e01033aa2206c31a579d217c8a07569b with fix

https://reviews.llvm.org/D77954 caused a regression about ambiguity of new operator
in file scope.

This patch recovered the previous behavior for comparison without a caller.

This is a workaround. For real fix we need D71227

https://reviews.llvm.org/D78970
clang/lib/Sema/SemaOverload.cpp
clang/test/SemaCUDA/function-overload.cu