diff --git a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc --- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc +++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc @@ -30,6 +30,22 @@ SYMBOL(unwrap_ref_decay_t, std::, ) SYMBOL(wint_t, std::, ) SYMBOL(wint_t, std::, ) +SYMBOL(swap, std::, ) +SYMBOL(swap, std::, ) // until C++11 +// C++ [string.view.synop 23.3.2]: The function templates defined in +// [utility.swap] ... are available when is included. +SYMBOL(swap, std::, ) // since C++17 +// C++ [tuple.helper 22.4.7]: In addition to being available via inclusion of +// the header, ... any of the headers , , or +// are included. +SYMBOL(tuple_size, std::, ) +SYMBOL(tuple_size, std::, ) +SYMBOL(tuple_size, std::, ) +SYMBOL(tuple_size, std::, ) +SYMBOL(tuple_element, std::, ) +SYMBOL(tuple_element, std::, ) +SYMBOL(tuple_element, std::, ) +SYMBOL(tuple_element, std::, ) // C++ [iterator.range 25.7]: In addition to being available via inclusion of // the header, the function templates in [iterator.range] are // available when any of the following headers are included: , ,