[llvm] r261984 - [TableGen] Fix typos in comments. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 22:50:27 PST 2016
Author: ctopper
Date: Fri Feb 26 00:50:27 2016
New Revision: 261984
URL: http://llvm.org/viewvc/llvm-project?rev=261984&view=rev
Log:
[TableGen] Fix typos in comments. NFC
Modified:
llvm/trunk/lib/TableGen/TGParser.cpp
Modified: llvm/trunk/lib/TableGen/TGParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TGParser.cpp?rev=261984&r1=261983&r2=261984&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/TGParser.cpp (original)
+++ llvm/trunk/lib/TableGen/TGParser.cpp Fri Feb 26 00:50:27 2016
@@ -2542,7 +2542,7 @@ bool TGParser::ParseDefm(MultiClass *Cur
// The record name construction goes as follow:
// - If the def name is a string, prepend the prefix.
// - If the def name is a more complex pattern, use that pattern.
- // As a result, the record is instanciated before resolving
+ // As a result, the record is instantiated before resolving
// arguments, as it would make its name a string.
Record *CurRec = InstantiateMulticlassDef(*MC, DefProto.get(), DefmPrefix,
SMRange(DefmLoc,
@@ -2551,7 +2551,7 @@ bool TGParser::ParseDefm(MultiClass *Cur
if (!CurRec)
return true;
- // Now that the record is instanciated, we can resolve arguments.
+ // Now that the record is instantiated, we can resolve arguments.
if (ResolveMulticlassDefArgs(*MC, CurRec, DefmLoc, SubClassLoc,
TArgs, TemplateVals, true/*Delete args*/))
return Error(SubClassLoc, "could not instantiate def");
More information about the llvm-commits
mailing list