[cfe-commits] r43318 - /cfe/trunk/include/clang/AST/Stmt.h

Chris Lattner clattner at apple.com
Wed Oct 24 22:09:52 PDT 2007


On Oct 24, 2007, at 5:08 PM, Ted Kremenek wrote:

> Author: kremenek
> Date: Wed Oct 24 19:08:50 2007
> New Revision: 43318
>
> URL: http://llvm.org/viewvc/llvm-project?rev=43318&view=rev
> Log:
> Added accessors to CompoundStmt to retrieve the source locations  
> for the
> left and right bracket.  This is useful for serialization.

Ok

> +  SourceLocation getLBracLoc() { return LBracLoc; }
> +  SourceLocation getRBracLoc() { return RBracLoc; }

Please mark these const,

-Chris



More information about the cfe-commits mailing list