[llvm-bugs] [Bug 43939] New: Mishandled attributes on typedef decl-specifier

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 7 12:21:59 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=43939

            Bug ID: 43939
           Summary: Mishandled attributes on typedef decl-specifier
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aaron at aaronballman.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

The following code fails to compile, though it should compile as per
[dcl.spec]p1:
typedef [[frobble]] int i_t;

The following code *does* compile, but produces *two* unknown attribute
warnings instead of one:
struct S {};
typedef [[frobble]] S s_t;

-- 
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/20191107/6c1b618d/attachment.html>


More information about the llvm-bugs mailing list