[PATCH] D131171: [utils] Fixed a number of typos

Gabriel Ravier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 07:31:01 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/D131171

Files:
  utils/arcanist/clang-format.sh
  utils/bazel/README.md
  utils/bazel/deps_impl/terminfo_system.BUILD
  utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
  utils/bazel/llvm_configs/BUILD.bazel


Index: utils/bazel/llvm_configs/BUILD.bazel
===================================================================
--- utils/bazel/llvm_configs/BUILD.bazel
+++ utils/bazel/llvm_configs/BUILD.bazel
@@ -3,7 +3,7 @@
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 # These diff tests ensure that the current Bazel configuration does not drift
-# from the configuration in the .cmake files, since we don't alway use them
+# from the configuration in the .cmake files, since we don't always use them
 # directly (and even if we did we wouldn't necessarily pick up changes there).
 # These are literal change-detector tests. We perform diff testing here since
 # it isn't really part of building LLVM and we don't want to include the config
Index: utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
===================================================================
--- utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+++ utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
@@ -67,7 +67,7 @@
       specializations: List of machine specializations available for this
                        function. Possible specializations are "generic",
                        "aarch64" and "x86_64".
-      additional_deps: Other deps like helper cc_library targes used by the
+      additional_deps: Other deps like helper cc_library targets used by the
                        math function.
     """
     additional_deps = additional_deps or []
Index: utils/bazel/deps_impl/terminfo_system.BUILD
===================================================================
--- utils/bazel/deps_impl/terminfo_system.BUILD
+++ utils/bazel/deps_impl/terminfo_system.BUILD
@@ -4,7 +4,7 @@
 
 # Wrapper library for some system terminfo. Using this only works if the
 # toolchain already has the relevant library search paths configured. It also
-# sets the relevant LLVM `#define`s to enoble using terminfo.
+# sets the relevant LLVM `#define`s to enable using terminfo.
 cc_library(
     name = "terminfo",
     defines = ["LLVM_ENABLE_TERMINFO=1"],
Index: utils/bazel/README.md
===================================================================
--- utils/bazel/README.md
+++ utils/bazel/README.md
@@ -54,7 +54,7 @@
 
 You can instruct Bazel to use a ramdisk for its sandboxing operations via
 [--sandbox_base](https://docs.bazel.build/versions/main/command-line-reference.html#flag--sandbox_base),
-which can help avoid IO bottlenecks for the symlink stragegy used for
+which can help avoid IO bottlenecks for the symlink strategy used for
 sandboxing. This is especially important with many inputs and many cores (see
 https://github.com/bazelbuild/bazel/issues/11868):
 
Index: utils/arcanist/clang-format.sh
===================================================================
--- utils/arcanist/clang-format.sh
+++ utils/arcanist/clang-format.sh
@@ -20,7 +20,7 @@
 fi
 if ! git rev-parse --git-dir >/dev/null; then
   echo "advice"
-  echo "not in git repostitory; not linting file."
+  echo "not in git repository; not linting file."
   echo "===="
   exit 0
 fi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131171.449979.patch
Type: text/x-patch
Size: 3079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220804/adf43b19/attachment.bin>


More information about the llvm-commits mailing list