Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>,
Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/67...@github.com>


tbaederr wrote:

> So the semantics here are: if there is any `requires_capability` attribute on 
> a function, it needs to exactly match the set of `requires_capability` 
> attributes on every previous declaration? Or in other words: the attributes 
> are either inherited or need to be exactly repeated? To me that sounds fine, 
> just wanted to clarify it.

Yes, I think that makes sense. The attributes should match for all (visible) 
declarations. _If_ the definiton has an attribute too, it should also match.

https://github.com/llvm/llvm-project/pull/67520
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to