@@ -582,7 +582,7 @@ class TemplateDiff {
582
582
// / IsBold - Keeps track of the bold formatting for the output string.
583
583
bool IsBold;
584
584
585
- // / DiffTree - A tree representation the differences between two types.
585
+ // / DiffTree - A tree representation of the differences between two types.
586
586
class DiffTree {
587
587
public:
588
588
// / DiffKind - The difference in a DiffNode. Fields of
@@ -802,7 +802,7 @@ class TemplateDiff {
802
802
CurrentNode = FlatTree[CurrentNode].ParentNode ;
803
803
}
804
804
805
- // / AddNode - Adds a child node to the current node, then sets that node
805
+ // / AddNode - Adds a child node to the current node, then sets that
806
806
// / node as the current node.
807
807
void AddNode () {
808
808
assert (FlatTree[CurrentNode].Kind == Template &&
@@ -937,12 +937,12 @@ class TemplateDiff {
937
937
return FlatTree[ReadNode].ToArgInfo .IsDefault ;
938
938
}
939
939
940
- // / NodeIsSame - Returns true the arguments are the same.
940
+ // / NodeIsSame - Returns true if the arguments are the same.
941
941
bool NodeIsSame () {
942
942
return FlatTree[ReadNode].Same ;
943
943
}
944
944
945
- // / HasChildrend - Returns true if the node has children.
945
+ // / HasChildren - Returns true if the node has children.
946
946
bool HasChildren () {
947
947
return FlatTree[ReadNode].ChildNode != 0 ;
948
948
}
@@ -982,7 +982,7 @@ class TemplateDiff {
982
982
983
983
// / TSTiterator - a pair of iterators that walks the
984
984
// / TemplateSpecializationType and the desugared TemplateSpecializationType.
985
- // / The deseguared TemplateArgument should provide the canonical argument
985
+ // / The desugared TemplateArgument should provide the canonical argument
986
986
// / for comparisons.
987
987
class TSTiterator {
988
988
typedef const TemplateArgument& reference;
@@ -993,7 +993,7 @@ class TemplateDiff {
993
993
// / parameter packs in order with the rest of the TemplateArguments.
994
994
struct InternalIterator {
995
995
// / TST - the template specialization whose arguments this iterator
996
- // / traverse over.
996
+ // / traverses over.
997
997
const TemplateSpecializationType *TST;
998
998
999
999
// / Index - the index of the template argument in TST.
0 commit comments