[clang] [clang][TSA] Make RequiresCapability a DeclOrType attribute (PR #67095)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 11 10:47:00 PDT 2023
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/67095/clang at github.com>
================
@@ -3315,7 +3315,7 @@ def RequiresCapability : InheritableAttr {
let TemplateDependent = 1;
let ParseArgumentsAsUnevaluated = 1;
let InheritEvenIfAlreadyPresent = 1;
- let Subjects = SubjectList<[Function]>;
+ /*let Subjects = SubjectList<[Function]>;*/
----------------
AaronBallman wrote:
Instead of removing it, can this be updated to be correct (we have `FunctionPointer` as a subject)?
https://github.com/llvm/llvm-project/pull/67095
More information about the cfe-commits
mailing list