AntonBikineev added a comment.

@rsmith,

> This is not correct; TryParseSimpleDeclaration usually stops long before it 
> reaches the end of the simple-declaration, so this will give false negatives 
> in lots of cases.


Yes, I noticed that, that's why I changed use of TryParseSimpleDeclaration to 
something easier in last revision.

Thanks for reply, Richard. The revision you sent looks great, I should have 
updated my working copy before :)
Anyways, there are not too much of changes to Sema/AST stuff, I just applied 
them on top of yours, added the same for SwitchStmt. I'll update the test you 
put according to my changes tomorrow.


http://reviews.llvm.org/D21834



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to