[LLVMbugs] [Bug 15311] problem with parameter-declaration-clause/pack expansion of abstract declarator ambiguity resolution

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 20 12:22:42 PST 2013


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
In r175660. I've downgraded this from error to warning; we now produce:

<stdin>:2:20: warning: ISO C++11 requires a parenthesized pack declaration to
have a name [-Wanonymous-pack-parens]
void foo(void (*...)(Args))

We still reject this case:

template <typename ...Args>
void foo(void (...)(Args));

Since we don't have final wording for core issue 1488 yet, it's not clear
whether this should be valid.

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/20130220/bf4a12a3/attachment.html>

More information about the llvm-bugs mailing list