[cfe-commits] r46524 - in /cfe/trunk: AST/Stmt.cpp AST/StmtSerialization.cpp Parse/ParseObjc.cpp Sema/Sema.h Sema/SemaStmt.cpp include/clang/AST/Stmt.h include/clang/Parse/Action.h

Fariborz Jahanian fjahanian at apple.com
Wed Jan 30 09:41:19 PST 2008


On Jan 29, 2008, at 10:23 PM, Chris Lattner wrote:

>>
>> +  ConsumeParen();  // ')'
>> +  StmtResult SynchBody = ParseCompoundStatementBody();
>
> ParseCompoundStatementBody will abort if not given a "{".  Please  
> check that one exists before calling it.

Good catch. Yes, it must be a compound statement.
All done.

- Fariborz

>
>
> Otherwise, looks great!
>
> -Chris




More information about the cfe-commits mailing list