Removed the ExpressionListAST node.

Done with Erik Verbruggen
This commit is contained in:
Roberto Raggi
2009-11-10 11:13:57 +01:00
parent 9e7ff0469b
commit 4089c906fa
11 changed files with 82 additions and 154 deletions

View File

@@ -380,15 +380,8 @@ bool CheckUndefinedSymbols::visit(BaseSpecifierAST *base)
resolvedBaseClassName = true;
}
if (! resolvedBaseClassName) {
const char *token = "after `:'";
if (base->comma_token)
token = "after `,'";
translationUnit()->warning(nameAST->firstToken(),
"expected class-name %s token", token);
}
if (! resolvedBaseClassName)
translationUnit()->warning(nameAST->firstToken(), "expected class-name");
}
return true;