[llvm-bugs] [Bug 18792] Note in wrong place when using std::enable_if_t
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 9 09:10:32 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=18792
jonathan.sauer at gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #6 from jonathan.sauer at gmx.de ---
With clang 5.0.0 the note is now in the right place and even more
comprehensible:
candidate template ignored: requirement 'sizeof(int) == 0' was not satisfied
[with T = int]
After renaming enable_if to enable_if2 (to circumvent clang's special handling
of enable_if), the note is still in the right place and is:
candidate template ignored: substitution failure [with T = int]: no type named
'type' in 'enable_if2<false>'
Both of these cases are fine, so I'm closing this PR.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171009/7906fe1f/attachment.html>
More information about the llvm-bugs
mailing list