[PATCH] D72635: Add "context" capability to Thread Safety Analysis

Etienne Pierre-Doray via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 15 13:10:08 PST 2020


eti-p-doray added a comment.

I added an example in the description.

>From doc https://clang.llvm.org/docs/ThreadSafetyAnalysis.html, 
it sounds like we should be allowed to declare our class with CAPABILITY("context"), but it turns out that only "mutex" and "role" are allowed.
I could otherwise update this CL to allow any string (single word lowercase?) as CAPABILITY?


Repository:
  rC Clang

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

https://reviews.llvm.org/D72635





More information about the cfe-commits mailing list