https://gcc.gnu.org/g:1cb7e9000ea94a9d1f6bc8e3f9c90ecef84fc6e5

commit 1cb7e9000ea94a9d1f6bc8e3f9c90ecef84fc6e5
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Sun Mar 24 23:08:12 2024 +0100

    Placate clang-format re 'gcc/rust/lex/rust-lex.cc'
    
    Reformat the upstream GCC commit 61644aea34c4623d16273ff705f8b8b1ff2d87f0
    "gccrs: tokenize Unicode identifiers" change to 'gcc/rust/lex/rust-lex.cc'
    to clang-format's liking.
    
            gcc/rust/
            * lex/rust-lex.cc (is_identifier_start): Placate clang-format.

Diff:
---
 gcc/rust/lex/rust-lex.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/rust/lex/rust-lex.cc b/gcc/rust/lex/rust-lex.cc
index bf6bf4c84466..9c2203160cd4 100644
--- a/gcc/rust/lex/rust-lex.cc
+++ b/gcc/rust/lex/rust-lex.cc
@@ -128,7 +128,8 @@ is_non_decimal_int_literal_separator (uint32_t character)
 bool
 is_identifier_start (uint32_t codepoint)
 {
-  return (cpp_check_xid_property (codepoint) & CPP_XID_START) || codepoint == 
'_';
+  return (cpp_check_xid_property (codepoint) & CPP_XID_START)
+        || codepoint == '_';
 }
 
 bool

Reply via email to