[PATCH] D39579: BuiltinOperatorOverloadBuilder: Don't consider types that are unavailable on the target (PR35174)

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 16:32:22 PDT 2017


hans created this revision.

In the test case, we'd end up in a situation where Clang tried to mangle the __float128 types, which isn't supported when targeting MSVC, because it instantiated a variable template with that type when searching for a conversion.


https://reviews.llvm.org/D39579

Files:
  lib/Sema/SemaOverload.cpp
  test/CodeGenCXX/microsoft-cannot-mangle-float128.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39579.121409.patch
Type: text/x-patch
Size: 10718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171102/1fa16581/attachment-0001.bin>


More information about the cfe-commits mailing list