On Wed, Oct 22, 2014 at 4:56 PM, David Blaikie <[email protected]> wrote:
> Is a CompoundStatement's start/end loc ever different from lbrace/rbrace
> location? (maybe when it's a compound statement without braces? But that can
> never occur in this part of the AST, right)

It appears to be possible because you can call setLBracLoc (thank
goodness we left the "e" off there...), but that looks to only be
called from ASTReader,

> If it isn't, then the if/else
> LBrace/RBrace bit could be omitted.

There's no relationship between compound statements and function try
block statements, so I'm not certain how we would omit the if/else.

~Aaron
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to