[clang] [Clang] [Parser] Support [[omp::assume]] (PR #84582)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 15:39:56 PST 2024


alexey-bataev wrote:

> @alexey-bataev I have a few more questions about `[[omp::assume]]`:
> 
> - Is this supported in C? Because the `[[]]` spelling is only officially available in C23 and later (we *do* support it in earlier language modes, but users will get a warning if `-pedantic` is passed)
> 
> - Is there any place where I can find some more documentation about this attribute? I tried to search for it online, but I couldn’t find anything about it.

Currently only for C++11 and higher

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


More information about the cfe-commits mailing list