Commit 7eeb5982 by Jonathan Wakely Committed by Jonathan Wakely

Add more entries to the C++ get_std_name_hint array

	* name-lookup.c (get_std_name_hint): Add more entries.

From-SVN: r274475
parent 4b0f6ee8
2019-08-14 Jonathan Wakely <jwakely@redhat.com>
* name-lookup.c (get_std_name_hint): Add more entries.
2019-08-14 Paolo Carlini <paolo.carlini@oracle.com>
* decl2.c (grok_array_decl): Use the location of the open square
......
......@@ -5550,9 +5550,11 @@ get_std_name_hint (const char *name)
{"make_any", "<any>", cxx17},
/* <array>. */
{"array", "<array>", cxx11},
{"to_array", "<array>", cxx2a},
/* <atomic>. */
{"atomic", "<atomic>", cxx11},
{"atomic_flag", "<atomic>", cxx11},
{"atomic_ref", "<atomic>", cxx2a},
/* <bitset>. */
{"bitset", "<bitset>", cxx11},
/* <complex>. */
......@@ -5575,9 +5577,17 @@ get_std_name_hint (const char *name)
{"ofstream", "<fstream>", cxx98},
/* <functional>. */
{"bind", "<functional>", cxx11},
{"bind_front", "<functional>", cxx2a},
{"function", "<functional>", cxx11},
{"hash", "<functional>", cxx11},
{"invoke", "<functional>", cxx17},
{"mem_fn", "<functional>", cxx11},
{"not_fn", "<functional>", cxx17},
{"reference_wrapper", "<functional>", cxx11},
{"unwrap_reference", "<functional>", cxx2a},
{"unwrap_reference_t", "<functional>", cxx2a},
{"unwrap_ref_decay", "<functional>", cxx2a},
{"unwrap_ref_decay_t", "<functional>", cxx2a},
/* <future>. */
{"async", "<future>", cxx11},
{"future", "<future>", cxx11},
......@@ -5618,11 +5628,16 @@ get_std_name_hint (const char *name)
{"map", "<map>", cxx98},
{"multimap", "<map>", cxx98},
/* <memory>. */
{"allocate_shared", "<memory>", cxx11},
{"allocator", "<memory>", cxx98},
{"allocator_traits", "<memory>", cxx11},
{"make_shared", "<memory>", cxx11},
{"make_unique", "<memory>", cxx11},
{"shared_ptr", "<memory>", cxx11},
{"unique_ptr", "<memory>", cxx11},
{"weak_ptr", "<memory>", cxx11},
/* <memory_resource>. */
{"pmr", "<memory_resource>", cxx17},
/* <mutex>. */
{"mutex", "<mutex>", cxx11},
{"timed_mutex", "<mutex>", cxx11},
......@@ -5672,14 +5687,39 @@ get_std_name_hint (const char *name)
{"u16string", "<string>", cxx11},
{"u32string", "<string>", cxx11},
/* <string_view>. */
{"basic_string_view", "<string_view>", cxx17},
{"string_view", "<string_view>", cxx17},
/* <thread>. */
{"thread", "<thread>", cxx11},
{"this_thread", "<thread>", cxx11},
/* <tuple>. */
{"apply", "<tuple>", cxx17},
{"forward_as_tuple", "<tuple>", cxx11},
{"make_from_tuple", "<tuple>", cxx17},
{"make_tuple", "<tuple>", cxx11},
{"tie", "<tuple>", cxx11},
{"tuple", "<tuple>", cxx11},
{"tuple_cat", "<tuple>", cxx11},
{"tuple_element", "<tuple>", cxx11},
{"tuple_element_t", "<tuple>", cxx14},
{"tuple_size", "<tuple>", cxx11},
{"tuple_size_v", "<tuple>", cxx17},
/* <type_traits>. */
{"enable_if", "<type_traits>", cxx11},
{"enable_if_t", "<type_traits>", cxx14},
{"invoke_result", "<type_traits>", cxx17},
{"invoke_result_t", "<type_traits>", cxx17},
{"remove_cvref", "<type_traits>", cxx2a},
{"remove_cvref_t", "<type_traits>", cxx2a},
{"type_identity", "<type_traits>", cxx2a},
{"type_identity_t", "<type_traits>", cxx2a},
{"void_t", "<type_traits>", cxx17},
{"conjunction", "<type_traits>", cxx17},
{"conjunction_v", "<type_traits>", cxx17},
{"disjunction", "<type_traits>", cxx17},
{"disjunction_v", "<type_traits>", cxx17},
{"negation", "<type_traits>", cxx17},
{"negation_v", "<type_traits>", cxx17},
/* <unordered_map>. */
{"unordered_map", "<unordered_map>", cxx11},
{"unordered_multimap", "<unordered_map>", cxx11},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment