diff options
author | Ken Matsui <kmatsui@gcc.gnu.org> | 2023-12-06 21:33:13 -0800 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-12-10 13:11:23 -0500 |
commit | ffc08431f5c89a20dab21f958bb408d6a604cf54 (patch) | |
tree | 22d11de7f1831be9cb39311d4e5663660e53814b /libquadmath/Makefile.am | |
parent | 5bca9af579a06bbf7160613f948ecf2092299437 (diff) | |
download | gcc-ffc08431f5c89a20dab21f958bb408d6a604cf54.zip gcc-ffc08431f5c89a20dab21f958bb408d6a604cf54.tar.gz gcc-ffc08431f5c89a20dab21f958bb408d6a604cf54.tar.bz2 |
c++: Implement __is_function built-in trait
This patch implements built-in trait for std::is_function.
gcc/cp/ChangeLog:
* cp-trait.def: Define __is_function.
* constraint.cc (diagnose_trait_expr): Handle CPTK_IS_FUNCTION.
* semantics.cc (trait_expr_value): Likewise.
(finish_trait_expr): Likewise.
gcc/testsuite/ChangeLog:
* g++.dg/ext/has-builtin-1.C: Test existence of __is_function.
* g++.dg/ext/is_function.C: New test.
Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Diffstat (limited to 'libquadmath/Makefile.am')
0 files changed, 0 insertions, 0 deletions