https://gcc.gnu.org/g:d903f5f0e65acfcf520e1230f071370c3ee06669
commit r16-5880-gd903f5f0e65acfcf520e1230f071370c3ee06669 Author: Jonathan Wakely <[email protected]> Date: Thu Dec 4 09:41:15 2025 +0000 contrib: Fix typo in function name in check_GNU_style_lib.py contrib/ChangeLog: * check_GNU_style_lib.py (TrailinigOperatorCheck): Rename to TrailingOperatorCheck. Diff: --- contrib/check_GNU_style_lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py index 8b930ef6bdb3..faf30c4d9a2e 100755 --- a/contrib/check_GNU_style_lib.py +++ b/contrib/check_GNU_style_lib.py @@ -217,7 +217,7 @@ class BracesOnSeparateLineCheck: line[:m.start(2)] + error_string(m.group(2)) + line[m.end(2):], 'braces should be on a separate line', m.start(2)) -class TrailinigOperatorCheck: +class TrailingOperatorCheck: def __init__(self): regex = r'^\s.*(([^a-zA-Z_]\*)|([-%<=&|^?])|([^*]/)|([^:][+]))$' self.re = re.compile(regex) @@ -272,7 +272,7 @@ def check_GNU_style_file(file, format): SentenceSeparatorCheck(), SentenceEndOfCommentCheck(), SentenceDotEndCheck(), FunctionParenthesisCheck(), SquareBracketCheck(), ClosingParenthesisCheck(), - BracesOnSeparateLineCheck(), TrailinigOperatorCheck(), + BracesOnSeparateLineCheck(), TrailingOperatorCheck(), SpacesAndTabsMixedCheck()] errors = []
