[PATCH] D130842: [cross-project-tests] Fixed a number of typos

Gabriel Ravier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 31 07:50:19 PDT 2022


GabrielRavier created this revision.
Herald added a project: All.
GabrielRavier requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

I went over the output of the following mess of a command:

`(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)`

and proceeded to spend a few days looking at it to find probable typos
and fixed a few hundred of them in all of the llvm project (note, the
ones I found are not anywhere near all of them, but it seems like a
good start).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130842

Files:
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py


Index: cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
===================================================================
--- cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
+++ cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
@@ -4,7 +4,7 @@
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-"""Commmand sets the path for all following commands to 'declared_file'.
+"""Command sets the path for all following commands to 'declared_file'.
 """
 
 from pathlib import PurePath
Index: cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py
===================================================================
--- cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py
+++ cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py
@@ -4,7 +4,7 @@
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-"""Commmand sets the path for all following commands to 'declared_file'.
+"""Command sets the path for all following commands to 'declared_file'.
 """
 
 import os


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130842.448859.patch
Type: text/x-patch
Size: 1450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220731/d8b64a7b/attachment.bin>


More information about the llvm-commits mailing list