We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb681d commit 0684ecfCopy full SHA for 0684ecf
clang/lib/AST/CommentParser.cpp
@@ -91,19 +91,19 @@ class TextTokenRetokenizer {
91
92
/// Extract a template type
93
bool lexTemplate(SmallString<32> &WordText) {
94
- unsigned IncrementCounter = 0;
+ unsigned BracketCount = 0;
95
while (!isEnd()) {
96
const char C = peek();
97
WordText.push_back(C);
98
consumeChar();
99
switch (C) {
100
case '<': {
101
- IncrementCounter++;
+ BracketCount++;
102
break;
103
}
104
case '>': {
105
- IncrementCounter--;
106
- if (!IncrementCounter)
+ BracketCount--;
+ if (!BracketCount)
107
return true;
108
109
0 commit comments