From: Aaron Ballman Date: Sat, 20 Dec 2014 01:54:07 +0000 (+0000) Subject: Removing an outdated FIXME; try block attributes are parsed with the rest of the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73ff60e8257716974b562eabcd8eab69e9a0c236;p=clang Removing an outdated FIXME; try block attributes are parsed with the rest of the statement attributes (as per the standard), and function-try-blocks may not have attributes. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224662 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseStmt.cpp b/lib/Parse/ParseStmt.cpp index 752baf663b..2ecfcf80ef 100644 --- a/lib/Parse/ParseStmt.cpp +++ b/lib/Parse/ParseStmt.cpp @@ -1959,7 +1959,6 @@ StmtResult Parser::ParseCXXTryBlock() { StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { if (Tok.isNot(tok::l_brace)) return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); - // FIXME: Possible draft standard bug: attribute-specifier should be allowed? StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, Scope::DeclScope | Scope::TryScope |