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

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 15:43:24 PST 2024


Sirraide wrote:

> Currently only for C++11 and higher

Ok, good; that’ll make this easier.

> https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5-2.pdf, pages 49-50

Thanks. At a glance, it looks like there are more things that also still need to be implemented in the frontend, but adding `[[omp::assume]]` will allow us to deprecate/remove the `__attribute__((assume))` spelling that’s causing problems for us at the moment, so that’s a more pressing concern right now.

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


More information about the cfe-commits mailing list