diff options
| author | Marek Polacek <polacek@redhat.com> | 2026-02-02 11:05:16 -0500 |
|---|---|---|
| committer | Marek Polacek <polacek@redhat.com> | 2026-02-03 15:15:52 -0500 |
| commit | 7197d0cce705254d0779a81bdad82d5a71b7f63b (patch) | |
| tree | 9c957cfce0bef1383a0e5dfd6917b2a93b7498da /libjava/classpath/lib/java/awt/peer | |
| parent | 3c3c7f6519f54d26afdb9bd810cc7bc11b395a53 (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
[allocator.members] says that allocator::{,de}allocate should be
constexpr but currently we don't mark them as such. I had to
work around that in the Reflection code, but it would be better to
clean this up. (I see no allocation_result so I'm not changing that.)
gcc/cp/ChangeLog:
* constexpr.cc (is_std_allocator): Don't check for __new_allocator.
(is_std_allocator_allocate): Make static.
* cp-tree.h (is_std_allocator_allocate): Remove declaration.
* reflect.cc (check_out_of_consteval_use): Don't call
is_std_allocator_allocate.
(check_consteval_only_fn): Likewise.
libstdc++-v3/ChangeLog:
* include/bits/new_allocator.h (__new_allocator::allocate,
__new_allocator::deallocate): Add missing constexpr.
Reviewed-by: Jason Merrill <jason@redhat.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'libjava/classpath/lib/java/awt/peer')
0 files changed, 0 insertions, 0 deletions
