[llvm] 4071dcf - [documentation] Fix Typos

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 02:20:48 PDT 2023


Author: Priyanshi Agarwal
Date: 2023-03-27T10:20:08+01:00
New Revision: 4071dcf3549f9936a4004b0b34b67b871eba241e

URL: https://github.com/llvm/llvm-project/commit/4071dcf3549f9936a4004b0b34b67b871eba241e
DIFF: https://github.com/llvm/llvm-project/commit/4071dcf3549f9936a4004b0b34b67b871eba241e.diff

LOG: [documentation] Fix Typos

Fixes https://github.com/llvm/llvm-project/issues/56747

Patch By: ipriyanshi1708

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

Added: 
    

Modified: 
    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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index 408853a60876b..04737efecb2b8 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -220,7 +220,7 @@ class SubCommand {
   static SubCommand &getTopLevel();
 
   // Get the special subcommand that can be used to put an option into all
-  // subcomands.
+  // subcommands.
   static SubCommand &getAll();
 
   void reset();

diff  --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp
index d01a41a46489a..5d4ebb9e43c39 100644
--- a/llvm/lib/Support/FileUtilities.cpp
+++ b/llvm/lib/Support/FileUtilities.cpp
@@ -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 
diff erent, and 2 if there is a file error.  This
-/// function 
diff ers from DiffFiles in that you can specify an absolete and
+/// function 
diff ers 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

diff  --git a/llvm/test/DebugInfo/macro_link.ll b/llvm/test/DebugInfo/macro_link.ll
index 4266476edd777..29347ae7cc10b 100644
--- a/llvm/test/DebugInfo/macro_link.ll
+++ b/llvm/test/DebugInfo/macro_link.ll
@@ -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]*]]}
 

diff  --git a/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp b/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp
index 1ad3d134828ee..8a9d9ce41837a 100644
--- a/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp
+++ b/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp
@@ -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


        


More information about the llvm-commits mailing list