public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Clang-format vector_type_index.
@ 2022-10-11  6:36 juzhe.zhong
  2022-10-12 13:02 ` Kito Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: juzhe.zhong @ 2022-10-11  6:36 UTC (permalink / raw)
  To: gcc-patches; +Cc: kito.cheng, Ju-Zhe Zhong

From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>

gcc/ChangeLog:

        * config/riscv/riscv-vector-builtins.h (DEF_RVV_TYPE): Clang-format it.

---
 gcc/config/riscv/riscv-vector-builtins.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/config/riscv/riscv-vector-builtins.h b/gcc/config/riscv/riscv-vector-builtins.h
index cd6dad62ad8..ea67da9905c 100644
--- a/gcc/config/riscv/riscv-vector-builtins.h
+++ b/gcc/config/riscv/riscv-vector-builtins.h
@@ -27,8 +27,7 @@ namespace riscv_vector {
    "vector types" for brevity.  */
 enum vector_type_index
 {
-#define DEF_RVV_TYPE(NAME, ABI_NAME, NCHARS, ARGS...)    \
-  VECTOR_TYPE_##NAME,
+#define DEF_RVV_TYPE(NAME, ABI_NAME, NCHARS, ARGS...) VECTOR_TYPE_##NAME,
 #include "riscv-vector-builtins.def"
   NUM_VECTOR_TYPES
 };
-- 
2.36.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] RISC-V: Clang-format vector_type_index.
  2022-10-11  6:36 [PATCH] RISC-V: Clang-format vector_type_index juzhe.zhong
@ 2022-10-12 13:02 ` Kito Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Kito Cheng @ 2022-10-12 13:02 UTC (permalink / raw)
  To: juzhe.zhong; +Cc: gcc-patches

Committed but combined with another one clang-format fixing :)

On Tue, Oct 11, 2022 at 2:36 PM <juzhe.zhong@rivai.ai> wrote:
>
> From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
>
> gcc/ChangeLog:
>
>         * config/riscv/riscv-vector-builtins.h (DEF_RVV_TYPE): Clang-format it.
>
> ---
>  gcc/config/riscv/riscv-vector-builtins.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/gcc/config/riscv/riscv-vector-builtins.h b/gcc/config/riscv/riscv-vector-builtins.h
> index cd6dad62ad8..ea67da9905c 100644
> --- a/gcc/config/riscv/riscv-vector-builtins.h
> +++ b/gcc/config/riscv/riscv-vector-builtins.h
> @@ -27,8 +27,7 @@ namespace riscv_vector {
>     "vector types" for brevity.  */
>  enum vector_type_index
>  {
> -#define DEF_RVV_TYPE(NAME, ABI_NAME, NCHARS, ARGS...)    \
> -  VECTOR_TYPE_##NAME,
> +#define DEF_RVV_TYPE(NAME, ABI_NAME, NCHARS, ARGS...) VECTOR_TYPE_##NAME,
>  #include "riscv-vector-builtins.def"
>    NUM_VECTOR_TYPES
>  };
> --
> 2.36.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-12 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11  6:36 [PATCH] RISC-V: Clang-format vector_type_index juzhe.zhong
2022-10-12 13:02 ` Kito Cheng

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).