Bug #:
Submitted by:
Reviewed by:
After speaking with Chris, decided not to have GCC "attributes" inherit
from Decl. This will enable us to grow the attribute hierarchy over time
without effecting Decls.
llvm-svn: 39543
diff --git a/clang/Parse/ParseDecl.cpp b/clang/Parse/ParseDecl.cpp
index 850fd73..9e1dd6e 100644
--- a/clang/Parse/ParseDecl.cpp
+++ b/clang/Parse/ParseDecl.cpp
@@ -397,7 +397,7 @@
// GNU attributes support.
case tok::kw___attribute:
- ParseAttributes();
+ DS.SetAttributeList(ParseAttributes());
continue;
// storage-class-specifier