[PATCH] D16301: Allow mode attribute for member variables again

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 07:56:02 PST 2016


aaron.ballman added inline comments.

================
Comment at: include/clang/Basic/Attr.td:891
@@ -891,2 +890,3 @@
+  let Subjects = SubjectList<[Var, TypedefName, Field], ErrorDiag,
                              "ExpectedVariableOrTypedef">;
   let Args = [IdentifierArgument<"Mode">];
----------------
This diagnostic is no longer correct because it doesn't talk about fields.


http://reviews.llvm.org/D16301





More information about the cfe-commits mailing list