[PATCH] D72635: Allow arbitrary capability name in Thread Safety Analysis

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 7 17:17:00 PST 2020


aaronpuchert added a comment.

@aaron.ballman, I've just noted that one of the `-Wthread-safety-attributes` warnings says <https://clang.llvm.org/docs/DiagnosticsReference.html#wthread-safety-attributes>

> //A// attribute can only be applied in a context annotated with ‘capability(“mutex”)’ attribute

This should be changed then, right? We never enforced the name anyway.


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

https://reviews.llvm.org/D72635





More information about the cfe-commits mailing list