[LLVMbugs] [Bug 18587] New: colons have too much protection in member-declarations
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 22 17:29:21 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18587
Bug ID: 18587
Summary: colons have too much protection in member-declarations
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
We give a bad diagnostic for this:
struct c { typedef int d; };
struct S { int f(c:d); };
... because we're protecting the colon in case we happen to be declaring a
bit-field. We should limit the scope of this protection to just the
id-expression in the member-declarator.
--
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/20140123/5984f457/attachment.html>
More information about the llvm-bugs
mailing list