[documentation] Fix Typos
authorPriyanshi Agarwal <priyanshiagarwal1708@gmail.com>
Mon, 27 Mar 2023 08:56:35 +0000 (09:56 +0100)
committerSam Tebbs <samuel.tebbs@arm.com>
Mon, 27 Mar 2023 09:20:08 +0000 (10:20 +0100)
Fixes https://github.com/llvm/llvm-project/issues/56747

Patch By: ipriyanshi1708

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

llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/FileUtilities.cpp
llvm/test/DebugInfo/macro_link.ll
llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp

index 408853a..04737ef 100644 (file)
@@ -220,7 +220,7 @@ public:
   static SubCommand &getTopLevel();
 
   // Get the special subcommand that can be used to put an option into all
-  // subcomands.
+  // subcommands.
   static SubCommand &getAll();
 
   void reset();
index d01a41a..5d4ebb9 100644 (file)
@@ -169,7 +169,7 @@ static bool CompareNumbers(const char *&F1P, const char *&F2P,
 
 /// DiffFilesWithTolerance - Compare the two files specified, returning 0 if the
 /// files match, 1 if they are different, and 2 if there is a file error.  This
-/// function differs from DiffFiles in that you can specify an absolete and
+/// function differs from DiffFiles in that you can specify an absolute and
 /// relative FP error that is allowed to exist.  If you specify a string to fill
 /// in for the error option, it will set the string to an error message if an
 /// error occurs, allowing the caller to distinguish between a failed diff and a
index 4266476..29347ae 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-link %s %s -S -o -| FileCheck %s
 
-; This test checks that DIMacro and DIMacroFile comaprison works correctly.
+; This test checks that DIMacro and DIMacroFile comparison works correctly.
 
 ; CHECK: !llvm.dbg.cu = !{[[CU1:![0-9]*]], [[CU2:![0-9]*]]}
 
index 1ad3d13..8a9d9ce 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This tool verifies Control Flow Integrity (CFI) instrumentation by static
-// binary anaylsis. See the design document in /docs/CFIVerify.rst for more
+// binary analysis. See the design document in /docs/CFIVerify.rst for more
 // information.
 //
 // This tool is currently incomplete. It currently only does disassembly for