hokein created this revision. hokein added a reviewer: kadircet. Herald added a project: All. hokein requested review of this revision. Herald added a project: clang.
Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D143569 Files: clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc Index: clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc =================================================================== --- clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc +++ clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc @@ -30,6 +30,22 @@ SYMBOL(unwrap_ref_decay_t, std::, <functional>) SYMBOL(wint_t, std::, <cwctype>) SYMBOL(wint_t, std::, <cwchar>) +SYMBOL(swap, std::, <utility>) +// C++ [string.view.synop 23.3.2]: The function templates defined in +// [utility.swap] ... are available when <string_view> is included. +SYMBOL(swap, std::, <string_view>) // since C++17 +SYMBOL(swap, std::, <algorithm>) // until C++11 +// C++ [tuple.helper 22.4.7]: In addition to being available via inclusion of +// the <tuple> header, ... any of the headers <array>, <ranges>, or <utility> +// are included. +SYMBOL(tuple_size, std::, <tuple>) +SYMBOL(tuple_size, std::, <array>) +SYMBOL(tuple_size, std::, <ranges>) +SYMBOL(tuple_size, std::, <utility>) +SYMBOL(tuple_element, std::, <tuple>) +SYMBOL(tuple_element, std::, <array>) +SYMBOL(tuple_element, std::, <ranges>) +SYMBOL(tuple_element, std::, <utility>) // C++ [iterator.range 25.7]: In addition to being available via inclusion of // the <iterator> header, the function templates in [iterator.range] are // available when any of the following headers are included: <array>, <deque>,
Index: clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc =================================================================== --- clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc +++ clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc @@ -30,6 +30,22 @@ SYMBOL(unwrap_ref_decay_t, std::, <functional>) SYMBOL(wint_t, std::, <cwctype>) SYMBOL(wint_t, std::, <cwchar>) +SYMBOL(swap, std::, <utility>) +// C++ [string.view.synop 23.3.2]: The function templates defined in +// [utility.swap] ... are available when <string_Âview> is included. +SYMBOL(swap, std::, <string_view>) // since C++17 +SYMBOL(swap, std::, <algorithm>) // until C++11 +// C++ [tuple.helper 22.4.7]: In addition to being available via inclusion of +// the <tuple> header, ... any of the headers <array>, <ranges>, or <utility> +// are included. +SYMBOL(tuple_size, std::, <tuple>) +SYMBOL(tuple_size, std::, <array>) +SYMBOL(tuple_size, std::, <ranges>) +SYMBOL(tuple_size, std::, <utility>) +SYMBOL(tuple_element, std::, <tuple>) +SYMBOL(tuple_element, std::, <array>) +SYMBOL(tuple_element, std::, <ranges>) +SYMBOL(tuple_element, std::, <utility>) // C++ [iterator.range 25.7]: In addition to being available via inclusion of // the <iterator> header, the function templates in [iterator.range] are // available when any of the following headers are included: <array>, <deque>,
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits