| Issue |
203038
|
| Summary |
Can Thread Safe Analysis be used with Objective-C or Objective-C++?
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
6ziv
|
I'm recently trying to use TSA for ensuring thread safety in some Objective-C based project, and found that I cannot use those annotations on OobC methods or properties.
For example, when I try to add a REQUIRES attribute to some ObjC method, the compiler complains like `'requires_capability' attribute only applies to functions [-Wignored-attributes]`.
Is there a way to use thread safety analysis in ObjC, and if yes, how can I do it?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs