Эх сурвалжийг харах

Fix spelling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236367 91177308-0d34-0410-b5e6-96231b3b80d8
Jim Grosbach 10 жил өмнө
parent
commit
000564c01a

+ 2 - 2
include/llvm/MC/MCAsmInfo.h

@@ -228,7 +228,7 @@ protected:
 
   /// True if the expression
   ///   .long f - g
-  /// uses an relocation but it can be supressed by writting
+  /// uses a relocation but it can be suppressed by writing
   ///   a = f - g
   ///   .long a
   bool SetDirectiveSuppressesReloc;
@@ -256,7 +256,7 @@ protected:
   /// argument and how it is interpreted.  Defaults to NoAlignment.
   LCOMM::LCOMMType LCOMMDirectiveAlignmentType;
 
-  // True if the target allows .align directives on funtions. This is true for
+  // True if the target allows .align directives on functions. This is true for
   // most targets, so defaults to true.
   bool HasFunctionAlignment;
 

+ 1 - 1
include/llvm/MC/MCContext.h

@@ -75,7 +75,7 @@ namespace llvm {
     /// other.
     DenseMap<const MCSectionELF*, MCSymbol*> SectionSymbols;
 
-    /// A maping from a local label number and an instance count to a symbol.
+    /// A mapping from a local label number and an instance count to a symbol.
     /// For example, in the assembly
     ///     1:
     ///     2:

+ 1 - 1
include/llvm/MC/MCDwarf.h

@@ -39,7 +39,7 @@ class SMLoc;
 
 /// MCDwarfFile - Instances of this class represent the name of the dwarf
 /// .file directive and its associated dwarf file number in the MC file,
-/// and MCDwarfFile's are created and unique'd by the MCContext class where
+/// and MCDwarfFile's are created and uniqued by the MCContext class where
 /// the file number for each is its index into the vector of DwarfFiles (note
 /// index 0 is not used and not a valid dwarf file number).
 struct MCDwarfFile {

+ 1 - 1
include/llvm/MC/MCLabel.h

@@ -21,7 +21,7 @@ namespace llvm {
   class raw_ostream;
 
   /// MCLabel - Instances of this class represent a label name in the MC file,
-  /// and MCLabel are created and unique'd by the MCContext class.  MCLabel
+  /// and MCLabel are created and uniqued by the MCContext class.  MCLabel
   /// should only be constructed for valid instances in the object file.
   class MCLabel {
     // Instance - the instance number of this Directional Local Label

+ 1 - 1
include/llvm/MC/MCSymbol.h

@@ -25,7 +25,7 @@ namespace llvm {
   class raw_ostream;
 
   /// MCSymbol - Instances of this class represent a symbol name in the MC file,
-  /// and MCSymbols are created and unique'd by the MCContext class.  MCSymbols
+  /// and MCSymbols are created and uniqued by the MCContext class.  MCSymbols
   /// should only be constructed with valid names for the object file.
   ///
   /// If the symbol is defined/emitted into the current translation unit, the

+ 1 - 1
lib/CodeGen/SplitKit.h

@@ -419,7 +419,7 @@ public:
   ///              There may be extra indices created by dead code elimination.
   void finish(SmallVectorImpl<unsigned> *LRMap = nullptr);
 
-  /// dump - print the current interval maping to dbgs().
+  /// dump - print the current interval mapping to dbgs().
   void dump() const;
 
   // ===--- High level methods ---===