[all-commits] [llvm/llvm-project] d1e066: [libc++] Make some tests in `math_nodiscard_extens...
Konstantin Varlamov via All-commits
all-commits at lists.llvm.org
Thu Feb 2 23:30:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1e066dd8bf0e7653395498dc71662d635f1cb11
https://github.com/llvm/llvm-project/commit/d1e066dd8bf0e7653395498dc71662d635f1cb11
Author: varconst <varconsteq at gmail.com>
Date: 2023-02-02 (Thu, 02 Feb 2023)
Changed paths:
M libcxx/test/libcxx/diagnostics/math_nodiscard_extensions.verify.cpp
Log Message:
-----------
[libc++] Make some tests in `math_nodiscard_extensions` Clang-only.
Clang implicitly adds the `[[gnu::const]]` attribute to many math
functions from the C standard library functions. Since this behavior is
Clang-specific, make sure the test only runs on Clang.
Differential Revision: https://reviews.llvm.org/D143033
More information about the All-commits
mailing list