[all-commits] [llvm/llvm-project] 0ed2bd: [clang-tools-extra] Fixed a number of typos

Gabriel Ravier via All-commits all-commits at lists.llvm.org
Mon Aug 1 06:33:40 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ed2bd9311fd54f0b414549b96a2cd4036ef0945
  Author: Gabriel Ravier <gabravier at gmail.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
    M clang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.h
    M clang-tools-extra/clangd/CodeComplete.h
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/DumpAST.cpp
    M clang-tools-extra/clangd/HeuristicResolver.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/InlayHints.cpp
    M clang-tools-extra/clangd/Quality.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/benchmarks/CompletionModel/DecisionForestBenchmark.cpp
    M clang-tools-extra/clangd/index/CanonicalIncludes.h
    M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp
    M clang-tools-extra/pseudo/gen/Main.cpp
    M clang-tools-extra/pseudo/lib/cxx/cxx.bnf
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/virtual-class-destructor.cpp

  Log Message:
  [clang-tools-extra] Fixed a number of typos

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).

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D130826

More information about the All-commits mailing list