public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-1788] libstdc++: Fix internal names: add missing underscores Date: Thu, 24 Jun 2021 13:34:54 +0000 (GMT) [thread overview] Message-ID: <20210624133454.1911D3853835@sourceware.org> (raw) https://gcc.gnu.org/g:addd5f0e61f73659c29f47a02e93bfc5e534dbf6 commit r12-1788-gaddd5f0e61f73659c29f47a02e93bfc5e534dbf6 Author: Matthias Kretz <m.kretz@gsi.de> Date: Thu Jun 24 14:20:15 2021 +0100 libstdc++: Fix internal names: add missing underscores Signed-off-by: Matthias Kretz <m.kretz@gsi.de> libstdc++-v3/ChangeLog: * include/experimental/bits/simd_math.h (_GLIBCXX_SIMD_MATH_CALL2_): Rename arg2_ to __arg2. (_GLIBCXX_SIMD_MATH_CALL3_): Rename arg2_ to __arg2 and arg3_ to __arg3. Diff: --- libstdc++-v3/include/experimental/bits/simd_math.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/include/experimental/bits/simd_math.h b/libstdc++-v3/include/experimental/bits/simd_math.h index 80b6e2b4cb5..dd9aaa35967 100644 --- a/libstdc++-v3/include/experimental/bits/simd_math.h +++ b/libstdc++-v3/include/experimental/bits/simd_math.h @@ -119,10 +119,10 @@ template <typename _Up, typename _Tp, typename _Abi> //}}} // _GLIBCXX_SIMD_MATH_CALL2_ {{{ -#define _GLIBCXX_SIMD_MATH_CALL2_(__name, arg2_) \ +#define _GLIBCXX_SIMD_MATH_CALL2_(__name, __arg2) \ template < \ typename _Tp, typename _Abi, typename..., \ - typename _Arg2 = _Extra_argument_type<arg2_, _Tp, _Abi>, \ + typename _Arg2 = _Extra_argument_type<__arg2, _Tp, _Abi>, \ typename _R = _Math_return_type_t< \ decltype(std::__name(declval<double>(), _Arg2::declval())), _Tp, _Abi>> \ enable_if_t<is_floating_point_v<_Tp>, _R> \ @@ -137,7 +137,7 @@ template <typename _Up, typename _Tp, typename _Abi> \ declval<double>(), \ declval<enable_if_t< \ conjunction_v< \ - is_same<arg2_, _Tp>, \ + is_same<__arg2, _Tp>, \ negation<is_same<__remove_cvref_t<_Up>, simd<_Tp, _Abi>>>, \ is_convertible<_Up, simd<_Tp, _Abi>>, is_floating_point<_Tp>>, \ double>>())), \ @@ -147,10 +147,10 @@ template <typename _Up, typename _Tp, typename _Abi> \ // }}} // _GLIBCXX_SIMD_MATH_CALL3_ {{{ -#define _GLIBCXX_SIMD_MATH_CALL3_(__name, arg2_, arg3_) \ +#define _GLIBCXX_SIMD_MATH_CALL3_(__name, __arg2, __arg3) \ template <typename _Tp, typename _Abi, typename..., \ - typename _Arg2 = _Extra_argument_type<arg2_, _Tp, _Abi>, \ - typename _Arg3 = _Extra_argument_type<arg3_, _Tp, _Abi>, \ + typename _Arg2 = _Extra_argument_type<__arg2, _Tp, _Abi>, \ + typename _Arg3 = _Extra_argument_type<__arg3, _Tp, _Abi>, \ typename _R = _Math_return_type_t< \ decltype(std::__name(declval<double>(), _Arg2::declval(), \ _Arg3::declval())), \
reply other threads:[~2021-06-24 13:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210624133454.1911D3853835@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).