remove an implemented todo

llvm-svn: 46362
This commit is contained in:
Chris Lattner 2008-01-25 18:58:06 +00:00
parent 463b726698
commit b241a1ba4c
1 changed files with 1 additions and 2 deletions

View File

@ -197,7 +197,6 @@ Parser::ExprResult Parser::ParseConstantExpression() {
ExprResult LHS = ParseCastExpression(false);
if (LHS.isInvalid) return LHS;
// TODO: Validate that this is a constant expr!
return ParseRHSOfBinaryExpression(LHS, prec::Conditional);
}
@ -440,7 +439,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, unsigned MinPrec) {
/// assign-expr ')'
/// [GNU] '__builtin_types_compatible_p' '(' type-name ',' type-name ')'
/// [OBJC] '[' objc-message-expr ']'
/// [OBJC] '@selector' '(' objc-selector-arg ')' [TODO]
/// [OBJC] '@selector' '(' objc-selector-arg ')'
/// [OBJC] '@protocol' '(' identifier ')'
/// [OBJC] '@encode' '(' type-name ')'
/// [OBJC] objc-string-literal