[Openmp-commits] [PATCH] D130822: Fixed loads of typos

Gabriel Ravier via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 30 07:22:14 PDT 2022


GabrielRavier created this revision.
GabrielRavier added reviewers: probinson, Naville.
Herald added subscribers: libc-commits, libcxx-commits, anlunx, steakhal, mtrofin, Enna1, bzcheeseman, kosarev, jsilvanus, mattd, gchakrabarti, ThomasRaoux, pmatos, asb, ayermolo, awarzynski, arjunp, sdasgup3, asavonic, carlosgalvezp, jeroen.dobbelaere, Groverkss, wenzhicui, wrengr, armkevincheng, ormris, foad, jsmolens, eric-k256, cota, mravishankar, teijeong, frasercrmck, rdzhabarov, tatianashp, wenlei, mehdi_amini, okura, jdoerfert, msifontes, jurahul, kuter, Kayjukh, grosul1, martong, Joonsoo, kerbowa, liufengdb, aartbik, mgester, arpith-jacob, csigg, antiagainst, shauheen, rriddle, luismarques, apazos, sameer.abuasal, usaxena95, pengfei, s.egerton, dmgreen, Jim, asbirlea, kadircet, jocewei, rupprecht, PkmX, tpr, arphaman, the_o, brucehoult, MartinMosbeck, rogfer01, steven_wu, atanasyan, edward-jones, george.burgess.iv, zzheng, jrtc27, delcypher, niosHD, sabuasal, simoncook, johnrusso, rbar, javed.absar, fedor.sergeev, kbarton, hiraditya, jgravelle-google, whisperity, arichardson, sbc100, mgorny, nhaehnle, jvesely, nemanjai, sdardis, emaste, dylanmckay, jyknight, dschuff, arsenm, qcolombet, MatzeB.
Herald added a reviewer: deadalnix.
Herald added a reviewer: bollu.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a reviewer: rriddle.
Herald added a reviewer: aartbik.
Herald added a reviewer: MaskRay.
Herald added a reviewer: ftynse.
Herald added a reviewer: aaron.ballman.
Herald added a reviewer: aartbik.
Herald added a reviewer: awarzynski.
Herald added a reviewer: sjarus.
Herald added a reviewer: clementval.
Herald added a reviewer: bondhugula.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a reviewer: dang.
Herald added a reviewer: ThomasRaoux.
Herald added a reviewer: NoQ.
Herald added a reviewer: ributzka.
Herald added projects: libunwind, libc-project, lld-macho, Flang, All.
Herald added a reviewer: libunwind.
Herald added a reviewer: lld-macho.
GabrielRavier requested review of this revision.
Herald added subscribers: cfe-commits, llvm-commits, openmp-commits, lldb-commits, Sanitizers, pcwang-thead, yota9, StephenFan, sstefan1, vkmr, stephenneuendorffer, nicolasvasilache, aheejin, jholewinski.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: nicolasvasilache.
Herald added a reviewer: herhut.
Herald added projects: clang, Sanitizers, LLDB, libc++, OpenMP, MLIR, LLVM, clang-tools-extra.
Herald added a reviewer: libc++.

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 spent a few days looking at it to find probable typos and
fixed a few hundred of them (note, this is not anywhere near all of
them, but it seems like a good start).

Note: A very large majority of these are in comments and other places
that, as far as I can see, should not be capable of breaking anything,
but there are also a few variable name changes and things like that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130822

Files:
  bolt/lib/Passes/IndirectCallPromotion.cpp
  bolt/lib/Passes/ReorderData.cpp
  bolt/lib/Passes/RetpolineInsertion.cpp
  bolt/lib/RuntimeLibs/HugifyRuntimeLibrary.cpp
  clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
  clang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.h
  clang-tools-extra/clangd/CodeComplete.h
  clang-tools-extra/clangd/ConfigFragment.h
  clang-tools-extra/clangd/DumpAST.cpp
  clang-tools-extra/clangd/HeuristicResolver.cpp
  clang-tools-extra/clangd/IncludeCleaner.cpp
  clang-tools-extra/clangd/InlayHints.cpp
  clang-tools-extra/clangd/Quality.cpp
  clang-tools-extra/clangd/SemanticHighlighting.cpp
  clang-tools-extra/clangd/benchmarks/CompletionModel/DecisionForestBenchmark.cpp
  clang-tools-extra/clangd/index/CanonicalIncludes.h
  clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
  clang-tools-extra/clangd/unittests/XRefsTests.cpp
  clang-tools-extra/pseudo/gen/Main.cpp
  clang-tools-extra/pseudo/lib/cxx/cxx.bnf
  clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/virtual-class-destructor.cpp
  clang/bindings/python/clang/cindex.py
  clang/cmake/caches/MultiDistributionExample.cmake
  clang/docs/ClangFormat.rst
  clang/docs/JSONCompilationDatabase.rst
  clang/docs/LanguageExtensions.rst
  clang/docs/analyzer/user-docs/CrossTranslationUnit.rst
  clang/include/clang/AST/DeclCXX.h
  clang/include/clang/AST/OpenMPClause.h
  clang/include/clang/Analysis/ConstructionContext.h
  clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/BuiltinsVE.def
  clang/include/clang/Basic/SourceManager.h
  clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
  clang/include/clang/Lex/DependencyDirectivesScanner.h
  clang/include/clang/Sema/DeclSpec.h
  clang/include/clang/Sema/Sema.h
  clang/include/clang/Serialization/ASTReader.h
  clang/include/clang/Serialization/SourceLocationEncoding.h
  clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
  clang/include/clang/Tooling/Core/Replacement.h
  clang/include/clang/Tooling/Syntax/Tree.h
  clang/lib/AST/ASTContext.cpp
  clang/lib/Analysis/CFG.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
  clang/lib/CrossTU/CrossTranslationUnit.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
  clang/lib/Format/UnwrappedLineParser.h
  clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  clang/lib/Headers/arm_acle.h
  clang/lib/Headers/opencl-c.h
  clang/lib/Lex/Lexer.cpp
  clang/lib/Parse/ParseStmt.cpp
  clang/lib/Sema/SemaCodeComplete.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclObjC.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  clang/lib/Tooling/AllTUsExecution.cpp
  clang/lib/Tooling/Core/Replacement.cpp
  clang/lib/Tooling/Syntax/Tokens.cpp
  clang/test/CodeGen/vectorcall.c
  clang/test/CodeGenCXX/target-features-error.cpp
  clang/test/SemaCXX/builtin-align-cxx.cpp
  clang/test/SemaOpenCL/usm-address-spaces-conversions.cl
  clang/tools/clang-shlib/CMakeLists.txt
  clang/tools/include-mapping/gen_std.py
  clang/tools/scan-build-py/lib/libear/ear.c
  clang/unittests/AST/StructuralEquivalenceTest.cpp
  clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  clang/unittests/Tooling/SourceCodeTest.cpp
  clang/utils/TableGen/NeonEmitter.cpp
  clang/utils/analyzer/SATest.py
  clang/utils/analyzer/exploded-graph-rewriter.py
  clang/www/analyzer/installation.html
  compiler-rt/cmake/Modules/AddCompilerRT.cmake
  compiler-rt/cmake/Modules/CompilerRTCompile.cmake
  compiler-rt/lib/builtins/arm/adddf3vfp.S
  compiler-rt/lib/builtins/arm/addsf3vfp.S
  compiler-rt/lib/builtins/arm/divdf3vfp.S
  compiler-rt/lib/builtins/arm/divsf3vfp.S
  compiler-rt/lib/builtins/arm/eqdf2vfp.S
  compiler-rt/lib/builtins/arm/eqsf2vfp.S
  compiler-rt/lib/builtins/arm/gedf2vfp.S
  compiler-rt/lib/builtins/arm/gesf2vfp.S
  compiler-rt/lib/builtins/arm/gtdf2vfp.S
  compiler-rt/lib/builtins/arm/gtsf2vfp.S
  compiler-rt/lib/builtins/arm/ledf2vfp.S
  compiler-rt/lib/builtins/arm/lesf2vfp.S
  compiler-rt/lib/builtins/arm/ltdf2vfp.S
  compiler-rt/lib/builtins/arm/ltsf2vfp.S
  compiler-rt/lib/builtins/arm/muldf3vfp.S
  compiler-rt/lib/builtins/arm/mulsf3vfp.S
  compiler-rt/lib/builtins/arm/nedf2vfp.S
  compiler-rt/lib/builtins/arm/negdf2vfp.S
  compiler-rt/lib/builtins/arm/negsf2vfp.S
  compiler-rt/lib/builtins/arm/nesf2vfp.S
  compiler-rt/lib/builtins/arm/subdf3vfp.S
  compiler-rt/lib/builtins/arm/subsf3vfp.S
  compiler-rt/lib/builtins/arm/unorddf2vfp.S
  compiler-rt/lib/builtins/arm/unordsf2vfp.S
  compiler-rt/lib/fuzzer/FuzzerCorpus.h
  compiler-rt/lib/profile/InstrProfilingFile.c
  compiler-rt/lib/profile/InstrProfilingInternal.h
  compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
  compiler-rt/test/asan/TestCases/leaks.cpp
  compiler-rt/test/hwasan/TestCases/use-after-free-and-overflow.c
  compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-tlv.S
  compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-tlv.S
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareAddress.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
  flang/docs/Extensions.md
  flang/docs/FIRArrayOperations.md
  flang/examples/FlangOmpReport/yaml_summarizer.py
  flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
  flang/lib/Semantics/check-nullify.cpp
  flang/test/Driver/default-backend-pipelines.f90
  flang/test/Semantics/altreturn06.f90
  flang/test/Semantics/call27.f90
  libc/benchmarks/automemcpy/unittests/ResultAnalyzerTest.cpp
  libc/cmake/modules/LLVMLibCObjectRules.cmake
  libc/config/linux/app.h
  libc/test/src/__support/uint128_test.cpp
  libc/test/src/stdio/fileop_test.cpp
  libc/test/src/stdio/unlocked_fileop_test.cpp
  libcxx/src/support/runtime/stdexcept_vcruntime.ipp
  libunwind/docs/conf.py
  lld/ELF/InputSection.cpp
  lld/MachO/Options.td
  lld/test/ELF/common-archive-lookup.s
  lld/test/ELF/init-fini.s
  lld/test/ELF/lto/duplicated-name.ll
  lld/test/MachO/tools/generate-cfi-funcs.py
  lld/test/MachO/tools/generate-thunkable-program.py
  lld/test/wasm/debuginfo-undefined-global.s
  lldb/bindings/interface/SBProcess.i
  lldb/bindings/interface/SBType.i
  lldb/docs/use/python-reference.rst
  lldb/examples/python/armv7_cortex_m_target_defintion.py
  lldb/examples/python/lldb_module_utils.py
  lldb/include/lldb/Core/Debugger.h
  lldb/include/lldb/Core/Mangled.h
  lldb/include/lldb/Symbol/Type.h
  lldb/packages/Python/lldbsuite/test/lldbbench.py
  lldb/source/Core/DynamicLoader.cpp
  lldb/source/Core/IOHandlerCursesGUI.cpp
  lldb/source/Expression/DWARFExpression.cpp
  lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  lldb/source/Plugins/Process/scripted/ScriptedThread.cpp
  lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  lldb/source/Symbol/Type.cpp
  lldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/main.cpp
  lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py
  lldb/test/API/functionalities/load_unload/TestLoadUnload.py
  lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
  lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py
  lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py
  lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py
  lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
  lldb/test/API/functionalities/postmortem/minidump-new/makefile.txt
  lldb/tools/debugserver/source/DNBTimer.h
  lldb/tools/debugserver/source/JSON.h
  lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
  lldb/unittests/Utility/UUIDTest.cpp
  llvm/cmake/config.guess
  llvm/cmake/modules/AddLLVM.cmake
  llvm/cmake/modules/CoverageReport.cmake
  llvm/docs/GlobalISel/GMIR.rst
  llvm/docs/LangRef.rst
  llvm/docs/MemorySSA.rst
  llvm/include/llvm-c/Object.h
  llvm/include/llvm-c/Orc.h
  llvm/include/llvm/Analysis/BranchProbabilityInfo.h
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/include/llvm/Analysis/LoopAnalysisManager.h
  llvm/include/llvm/Analysis/LoopCacheAnalysis.h
  llvm/include/llvm/Analysis/MLModelRunner.h
  llvm/include/llvm/Analysis/RegionInfo.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/include/llvm/CodeGen/DFAPacketizer.h
  llvm/include/llvm/CodeGen/LiveRangeCalc.h
  llvm/include/llvm/CodeGen/MIRPrinter.h
  llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
  llvm/include/llvm/CodeGen/RegisterBankInfo.h
  llvm/include/llvm/CodeGen/RegisterPressure.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
  llvm/include/llvm/ExecutionEngine/Orc/Core.h
  llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
  llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h
  llvm/include/llvm/ExecutionEngine/RuntimeDyld.h
  llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
  llvm/include/llvm/Frontend/OpenMP/OMPContext.h
  llvm/include/llvm/IR/GlobalValue.h
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/include/llvm/IR/PassManager.h
  llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
  llvm/include/llvm/MC/MCStreamer.h
  llvm/include/llvm/Support/BranchProbability.h
  llvm/include/llvm/Support/RWMutex.h
  llvm/include/llvm/Support/TypeName.h
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/include/llvm/Transforms/IPO/FunctionAttrs.h
  llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
  llvm/lib/Analysis/BasicAliasAnalysis.cpp
  llvm/lib/Analysis/DependenceAnalysis.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Analysis/LazyCallGraph.cpp
  llvm/lib/Analysis/TFUtils.cpp
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/BreakFalseDeps.cpp
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
  llvm/lib/CodeGen/LiveVariables.cpp
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/lib/CodeGen/ModuloSchedule.cpp
  llvm/lib/CodeGen/PrologEpilogInserter.cpp
  llvm/lib/CodeGen/RegisterCoalescer.cpp
  llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
  llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
  llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp
  llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
  llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  llvm/lib/ExecutionEngine/Orc/Core.cpp
  (295 more files...)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130822.448800.patch
Type: text/x-patch
Size: 381211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220730/b95a4335/attachment-0001.bin>


More information about the Openmp-commits mailing list