[compiler-rt] 8116d01 - Typos around a -> an.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 20 14:05:43 PDT 2020


Author: Eric Christopher
Date: 2020-06-20T14:04:48-07:00
New Revision: 8116d019050924ba72f9a1fab7950d1bfc4d4491

URL: https://github.com/llvm/llvm-project/commit/8116d019050924ba72f9a1fab7950d1bfc4d4491
DIFF: https://github.com/llvm/llvm-project/commit/8116d019050924ba72f9a1fab7950d1bfc4d4491.diff

LOG: Typos around a -> an.

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/scripts/cpplint.py
    llvm/docs/ORCv2.rst
    llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/scripts/cpplint.py b/compiler-rt/lib/sanitizer_common/scripts/cpplint.py
index 59e99f2585e8..1262e5b12e76 100755
--- a/compiler-rt/lib/sanitizer_common/scripts/cpplint.py
+++ b/compiler-rt/lib/sanitizer_common/scripts/cpplint.py
@@ -3866,7 +3866,7 @@ def CheckTrailingSemicolon(filename, clean_lines, linenum, error):
 
   # Block bodies should not be followed by a semicolon.  Due to C++11
   # brace initialization, there are more places where semicolons are
-  # required than not, so we use a allowed list approach to check these
+  # required than not, so we use an allowed list approach to check these
   # rather than an exclusion list.  These are the places where "};" should
   # be replaced by just "}":
   # 1. Some flavor of block following closing parenthesis:

diff  --git a/llvm/docs/ORCv2.rst b/llvm/docs/ORCv2.rst
index 5257ba9d9203..0396fb0ad811 100644
--- a/llvm/docs/ORCv2.rst
+++ b/llvm/docs/ORCv2.rst
@@ -729,7 +729,7 @@ For example, to load the whole interface of a runtime library:
     // at '/path/to/lib'.
     CompileLayer.add(JD, loadModule(...));
 
-Or, to expose a allowed set of symbols from the main process:
+Or, to expose an allowed set of symbols from the main process:
 
   .. code-block:: c++
 

diff  --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
index a4ff01015312..37d81e4b0af1 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
@@ -53,7 +53,7 @@ ARMELFObjectWriter::ARMELFObjectWriter(uint8_t OSABI)
 
 bool ARMELFObjectWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
                                                  unsigned Type) const {
-  // FIXME: This is extremely conservative. This really needs to use a
+  // FIXME: This is extremely conservative. This really needs to use an
   // explicit list with a clear explanation for why each realocation needs to
   // point to the symbol, not to the section.
   switch (Type) {


        


More information about the llvm-commits mailing list