From 4071dcf3549f9936a4004b0b34b67b871eba241e Mon Sep 17 00:00:00 2001 From: Priyanshi Agarwal Date: Mon, 27 Mar 2023 09:56:35 +0100 Subject: [PATCH] [documentation] Fix Typos 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 | 2 +- llvm/lib/Support/FileUtilities.cpp | 2 +- llvm/test/DebugInfo/macro_link.ll | 2 +- llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 408853a..04737ef 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -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(); diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp index d01a41a..5d4ebb9 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 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 diff --git a/llvm/test/DebugInfo/macro_link.ll b/llvm/test/DebugInfo/macro_link.ll index 4266476..29347ae 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 1ad3d13..8a9d9ce 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 -- 2.7.4