@@ -582,7 +582,7 @@ class TemplateDiff {
582582 // / IsBold - Keeps track of the bold formatting for the output string.
583583 bool IsBold;
584584
585- // / DiffTree - A tree representation the differences between two types.
585+ // / DiffTree - A tree representation of the differences between two types.
586586 class DiffTree {
587587 public:
588588 // / DiffKind - The difference in a DiffNode. Fields of
@@ -802,7 +802,7 @@ class TemplateDiff {
802802 CurrentNode = FlatTree[CurrentNode].ParentNode ;
803803 }
804804
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
806806 // / node as the current node.
807807 void AddNode () {
808808 assert (FlatTree[CurrentNode].Kind == Template &&
@@ -937,12 +937,12 @@ class TemplateDiff {
937937 return FlatTree[ReadNode].ToArgInfo .IsDefault ;
938938 }
939939
940- // / NodeIsSame - Returns true the arguments are the same.
940+ // / NodeIsSame - Returns true if the arguments are the same.
941941 bool NodeIsSame () {
942942 return FlatTree[ReadNode].Same ;
943943 }
944944
945- // / HasChildrend - Returns true if the node has children.
945+ // / HasChildren - Returns true if the node has children.
946946 bool HasChildren () {
947947 return FlatTree[ReadNode].ChildNode != 0 ;
948948 }
@@ -982,7 +982,7 @@ class TemplateDiff {
982982
983983 // / TSTiterator - a pair of iterators that walks the
984984 // / TemplateSpecializationType and the desugared TemplateSpecializationType.
985- // / The deseguared TemplateArgument should provide the canonical argument
985+ // / The desugared TemplateArgument should provide the canonical argument
986986 // / for comparisons.
987987 class TSTiterator {
988988 typedef const TemplateArgument& reference;
@@ -993,7 +993,7 @@ class TemplateDiff {
993993 // / parameter packs in order with the rest of the TemplateArguments.
994994 struct InternalIterator {
995995 // / TST - the template specialization whose arguments this iterator
996- // / traverse over.
996+ // / traverses over.
997997 const TemplateSpecializationType *TST;
998998
999999 // / Index - the index of the template argument in TST.
0 commit comments