aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/std-name-hint.gperf
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-05-21 13:16:33 +0100
committerJonathan Wakely <jwakely@redhat.com>2024-05-21 21:59:21 +0100
commit826a7d3d19d3ebf04e21d6f1c89eb341a36fb5d1 (patch)
treeb678297dbd77a4e215a19dc1a4f5d52c43d8f6f1 /gcc/cp/std-name-hint.gperf
parentf0c0bced62b9c728ed1e672747aa234d918da22c (diff)
downloadgcc-826a7d3d19d3ebf04e21d6f1c89eb341a36fb5d1.zip
gcc-826a7d3d19d3ebf04e21d6f1c89eb341a36fb5d1.tar.gz
gcc-826a7d3d19d3ebf04e21d6f1c89eb341a36fb5d1.tar.bz2
c++: Fix std dialect hint for std::to_address [PR107800]
The correct dialect for std::to_address is cxx20 not cxx11. gcc/cp/ChangeLog: PR libstdc++/107800 * cxxapi-data.csv <to_address>: Change dialect to cxx20. * std-name-hint.gperf: Regenerate. * std-name-hint.h: Regenerate.
Diffstat (limited to 'gcc/cp/std-name-hint.gperf')
-rw-r--r--gcc/cp/std-name-hint.gperf2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/std-name-hint.gperf b/gcc/cp/std-name-hint.gperf
index b26bc69..4fb23da 100644
--- a/gcc/cp/std-name-hint.gperf
+++ b/gcc/cp/std-name-hint.gperf
@@ -220,7 +220,7 @@ pointer_traits, "<memory>", cxx11
reinterpret_pointer_cast, "<memory>", cxx17
shared_ptr, "<memory>", cxx11
static_pointer_cast, "<memory>", cxx11
-to_address, "<memory>", cxx11
+to_address, "<memory>", cxx20
uninitialized_construct_using_allocator, "<memory>", cxx20
unique_ptr, "<memory>", cxx11
uses_allocator, "<memory>", cxx11