We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07cc7c3 commit f319551Copy full SHA for f319551
1 file changed
lib/tokenlist.cpp
@@ -1788,7 +1788,7 @@ static Token * createAstAtToken(Token *tok)
1788
}
1789
1790
if ((Token::Match(tok, "%type% %name%|*|&|&&|::") && !Token::Match(tok, "return|new|delete")) ||
1791
- (Token::Match(tok, ":: %tyoe%") && !tok->next()->isKeyword())) {
+ (Token::Match(tok, ":: %type%") && !tok->next()->isKeyword())) {
1792
int typecount = tok->str() == "::" ? 1 : 0;
1793
Token *typetok = tok;
1794
while (Token::Match(typetok, "%type%|::|*|&|&&|<")) {
0 commit comments