]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Placate clang-format re 'gcc/rust/lex/rust-lex.cc'
authorThomas Schwinge <tschwinge@baylibre.com>
Sun, 24 Mar 2024 22:08:12 +0000 (23:08 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 1 Aug 2024 11:12:17 +0000 (13:12 +0200)
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.

gcc/rust/lex/rust-lex.cc

index bf6bf4c84466470a5bf2ed34517fc48ff4b124b3..9c2203160cd4ef56471302884022e1122001a490 100644 (file)
@@ -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