Fix spelling in comments. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 29 Sep 2017 14:13:47 +0000 (14:13 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 29 Sep 2017 14:13:47 +0000 (14:13 +0000)
llvm-svn: 314515

llvm/include/llvm/MC/MCParser/MCAsmParser.h

index 8fa5f94..20c25bd 100644 (file)
@@ -39,7 +39,7 @@ public:
   enum IdKind {
     IK_Invalid,  // Initial state. Unexpected after a successful parsing.
     IK_Label,    // Function/Label reference.
-    IK_EnumVal,  // Value of enumration type.
+    IK_EnumVal,  // Value of enumeration type.
     IK_Var       // Variable.
   };
   // Represents an Enum value
@@ -88,7 +88,7 @@ public:
   InlineAsmIdentifierInfo() : Kind(IK_Invalid) {}
 
 private:
-  // Discrimint using the current kind
+  // Discriminate using the current kind.
   IdKind Kind;
 };