probinson added inline comments. ================ Comment at: include/clang/Basic/Attr.td:86-88 @@ -85,1 +85,5 @@ +def NonParmVar : SubsetSubject<Var, + [{S->getKind() != Decl::ImplicitParam && + S->getKind() != Decl::ParmVar && + S->getKind() != Decl::NonTypeTemplateParm}]>; def NonBitField : SubsetSubject<Field, ---------------- aaron.ballman wrote: > Can you add tests for each of these cases to ensure that the diagnostic fires > on all of them? Actually not sure how to apply an attribute to an ImplicitParam....
http://reviews.llvm.org/D19754 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits