aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lex
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-24 23:08:12 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 13:12:17 +0200
commit6e8b12530f1c0821de4b3d0d1d3ca7cefb55b65f (patch)
tree79c4ed4b4cc0258788a11a917e1369a0e9ccf77f /gcc/rust/lex
parent98e0a660e78298d232767f51a0ff9c794e66d1e1 (diff)
downloadgcc-6e8b12530f1c0821de4b3d0d1d3ca7cefb55b65f.zip
gcc-6e8b12530f1c0821de4b3d0d1d3ca7cefb55b65f.tar.gz
gcc-6e8b12530f1c0821de4b3d0d1d3ca7cefb55b65f.tar.bz2
gccrs: 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.
Diffstat (limited to 'gcc/rust/lex')
-rw-r--r--gcc/rust/lex/rust-lex.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rust/lex/rust-lex.cc b/gcc/rust/lex/rust-lex.cc
index bf6bf4c..9c22031 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