OSDN Git Service

Typos around a -> an.
authorEric Christopher <echristo@gmail.com>
Sat, 20 Jun 2020 21:04:48 +0000 (14:04 -0700)
committerEric Christopher <echristo@gmail.com>
Sat, 20 Jun 2020 21:04:48 +0000 (14:04 -0700)
compiler-rt/lib/sanitizer_common/scripts/cpplint.py
llvm/docs/ORCv2.rst
llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp

index 59e99f2..1262e5b 100755 (executable)
@@ -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:
index 5257ba9..0396fb0 100644 (file)
@@ -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++
 
index a4ff010..37d81e4 100644 (file)
@@ -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) {