[clang] Thread Safety Analysis: Support reentrant capabilities (PR #137133)

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 2 16:15:50 PDT 2025


================
@@ -3990,6 +3990,13 @@ def LocksExcluded : InheritableAttr {
   let Documentation = [Undocumented];
 }
 
+def ReentrantCapability : InheritableAttr {
+  let Spellings = [Clang<"reentrant_capability">];
+  let Subjects = SubjectList<[Record, TypedefName]>;
+  let Documentation = [Undocumented];
----------------
philnik777 wrote:

IMO we could at least add a link to the other documentation. Just saying that it's undocumented in the place where all other attributes are documented is really not helpful.


https://github.com/llvm/llvm-project/pull/137133


More information about the cfe-commits mailing list