r199563 - Fix comment typos

Alp Toker alp at nuanti.com
Sat Jan 18 13:49:37 PST 2014


Author: alp
Date: Sat Jan 18 15:49:37 2014
New Revision: 199563

URL: http://llvm.org/viewvc/llvm-project?rev=199563&view=rev
Log:
Fix comment typos

Modified:
    cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp

Modified: cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=199563&r1=199562&r2=199563&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp Sat Jan 18 15:49:37 2014
@@ -1226,7 +1226,7 @@ void EmitClangAttrClass(RecordKeeper &Re
         EnumName += NormalizeNameForSpellingComparison(Spelling);
 
         // Since we have been stripping underscores to avoid trampling on the
-        // reserved namespace, we may have inadvertantly created duplicate
+        // reserved namespace, we may have inadvertently created duplicate
         // enumerant names. Unique the name if required.
         while (Uniques.find(EnumName) != Uniques.end())
           EnumName += "_alternate";
@@ -2337,7 +2337,7 @@ void EmitClangAttrParsedAttrImpl(RecordK
     // because it is a target-specific attribute that appears multiple times.
     // It would be beneficial to test whether the duplicates are "similar
     // enough" to each other to not cause problems. For instance, check that
-    // the spellings are identicial, and custom parsing rules match, etc.
+    // the spellings are identical, and custom parsing rules match, etc.
 
     // We need to generate struct instances based off ParsedAttrInfo from
     // AttributeList.cpp.





More information about the cfe-commits mailing list