[libcxx-commits] [PATCH] D143033: [libc++] Disable some tests in `math_nodiscard_extensions`.

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 31 17:04:24 PST 2023


philnik added a comment.

In D143033#4095228 <https://reviews.llvm.org/D143033#4095228>, @var-const wrote:

> In D143033#4095223 <https://reviews.llvm.org/D143033#4095223>, @philnik wrote:
>
>> These are marked `[[gnu::const]]` through clang though. That's why these are regex matchers, not simple text versions.
>
> Can you elaborate on how exactly this works? (or perhaps it's documented somewhere)

It's not exactly documentation, but you can look at `clang/include/clang/Basic/Builtins.def` to see what attributes are applied to builtins and what builtins there are.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143033/new/

https://reviews.llvm.org/D143033



More information about the libcxx-commits mailing list