[llvm] 6d7c25b - [NFC][UpdateTestChecks] Fix typos in comments
Jinsong Ji via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 08:04:28 PDT 2020
Author: Jinsong Ji
Date: 2020-04-10T15:04:10Z
New Revision: 6d7c25bbf9c13303b6e84cb07d815de70c33404c
URL: https://github.com/llvm/llvm-project/commit/6d7c25bbf9c13303b6e84cb07d815de70c33404c
DIFF: https://github.com/llvm/llvm-project/commit/6d7c25bbf9c13303b6e84cb07d815de70c33404c.diff
LOG: [NFC][UpdateTestChecks] Fix typos in comments
Added:
Modified:
llvm/utils/UpdateTestChecks/asm.py
Removed:
################################################################################
diff --git a/llvm/utils/UpdateTestChecks/asm.py b/llvm/utils/UpdateTestChecks/asm.py
index 5747e4533a28..998d8b1f5773 100644
--- a/llvm/utils/UpdateTestChecks/asm.py
+++ b/llvm/utils/UpdateTestChecks/asm.py
@@ -229,11 +229,11 @@ def scrub_asm_powerpc(asm, args):
asm = common.SCRUB_WHITESPACE_RE.sub(r' ', asm)
# Expand the tabs used for indentation.
asm = string.expandtabs(asm, 2)
- # Stripe unimportant comments, but leave the token '#' in place.
+ # Strip unimportant comments, but leave the token '#' in place.
asm = common.SCRUB_LOOP_COMMENT_RE.sub(r'#', asm)
# Strip trailing whitespace.
asm = common.SCRUB_TRAILING_WHITESPACE_RE.sub(r'', asm)
- # Stripe the tailing token '#', except the line only has token '#'.
+ # Strip the tailing token '#', except the line only has token '#'.
asm = common.SCRUB_TAILING_COMMENT_TOKEN_RE.sub(r'', asm)
return asm
More information about the llvm-commits
mailing list