[LLVMbugs] [Bug 21161] Crash on Win8 with invalid std::enable_if usage.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 7 00:20:54 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21161
David Majnemer <david.majnemer at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #3 from David Majnemer <david.majnemer at gmail.com> ---
This doesn't reproduce under r219174.
I get an additional diagnostic that you don't report, probably because we
didn't crash earlier:
Crash.cpp:6:24: error: use of undeclared identifier 'FAKE'
static std::enable_if<FAKE>::type foo() {
^
Crash.cpp:6:31: error: non-friend class member 'type' cannot have a qualified
name
static std::enable_if<FAKE>::type foo() {
~~^
Crash.cpp:6:31: error: no member named 'type' in the global namespace
static std::enable_if<FAKE>::type foo() {
~~^
Crash.cpp:6:35: error: expected ';' at end of declaration list
static std::enable_if<FAKE>::type foo() {
Feel free to reopen this bug if you can reproduce with a clang >= r219174.
--
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/20141007/4ab003d7/attachment.html>
More information about the llvm-bugs
mailing list