aaron.ballman added a comment.

In general, I think this is looking pretty good, thank you! I'll leave it to 
@erichkeane to do the final sign-off as attributes code owner since this is 
making a fair number of changes in that area.



================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:4415-4419
+    S.Diag(AttrLoc, diag::err_attribute_wrong_decl_type)
+        << &Attr
+        << (Attr.isC11() ? ExpectedVariableOrField
+                         : ExpectedVariableFieldOrTag);
+    return true;
----------------



================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:4422-4424
+    S.Diag(AttrLoc, diag::err_alignas_attribute_wrong_decl_type)
+        << &Attr << DiagKind;
+    return true;
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150528/new/

https://reviews.llvm.org/D150528

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to