From: Chris Lattner Date: Fri, 25 Jan 2008 18:58:06 +0000 (+0000) Subject: remove an implemented todo X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ac87edba7ef2105bb282390fcf0dc7b70ca936b;p=clang remove an implemented todo git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46362 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Parse/ParseExpr.cpp b/Parse/ParseExpr.cpp index c7b8ea62e7..00b2899a03 100644 --- a/Parse/ParseExpr.cpp +++ b/Parse/ParseExpr.cpp @@ -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