Sirraide wrote:

> Also note, we need to update the feature-test-macro/has_attribute-expr here.

I’ve already added a check for `__has_cpp_attribute` to one of the tests. 
`__has_attribute(assume)` already evaluates to `1` even without this pr, likely 
because of `clang::assume`, but I can add a test for that as well. I’m also not 
aware of a feature test macro for `assume`? AFAIK it’s just 
`__has_cpp_attribute`.

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

Reply via email to