aaronpuchert added a comment. The second warning message is a bit long, so if any of you have a better idea I'd welcome it.
================ Comment at: include/clang/Basic/DiagnosticSemaKinds.td:3016-3017 +def warn_thread_attribute_not_on_capability_member : Warning< + "%0 attribute without capability arguments can only be applied in a class " + "annotated with 'capability' or 'scoped_lockable' attribute, but %1 isn't">, + InGroup<ThreadSafetyAttributes>, DefaultIgnore; ---------------- Alternative wording: "%0 attribute without capability arguments refers to 'this', but %1 isn't annotated with 'capability' or 'scoped_lockable' attribute". Repository: rC Clang https://reviews.llvm.org/D51901 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits