[cfe-commits] r43105 - in /cfe/trunk: AST/ExprCXX.cpp AST/Stmt.cpp AST/StmtIterator.cpp include/clang/AST/Decl.h include/clang/AST/Stmt.h include/clang/AST/StmtGraphTraits.h include/clang/AST/StmtIterator.h
Chris Lattner
clattner at apple.com
Thu Oct 18 10:13:11 PDT 2007
On Oct 17, 2007, at 5:49 PM, Ted Kremenek wrote:
>
> On Oct 17, 2007, at 5:33 PM, Chris Lattner wrote:
>
>>>
>>> + Stmt** S;
>>> + ScopedDecl* D;
>>
>> Should be merged :)
>
> Not possible. We need a pointer to the DeclStmt that contains the
> Decls to implement operator--. Either that or you need to store
> the first decl that DeclStmt refers to. In either case, you need
> two pointers.
Ok, thanks
-Chris
More information about the cfe-commits
mailing list