[PATCH v2 61/65] xgate: use is_whitespace()

Jan Beulich jbeulich@suse.com
Mon Jan 27 16:45:05 GMT 2025


Convert an open-coded check.
---
v2: New.

--- a/gas/config/tc-xgate.c
+++ b/gas/config/tc-xgate.c
@@ -812,7 +812,7 @@ xgate_elf_final_processing (void)
 static inline char *
 skip_whitespace (char *s)
 {
-  while (*s == ' ' || *s == '\t' || *s == '(' || *s == ')')
+  while (is_whitespace (*s) || *s == '(' || *s == ')')
     s++;
 
   return s;



More information about the Binutils mailing list