[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

Ted Kremenek kremenek at apple.com
Wed Oct 17 17:49:10 PDT 2007


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.



More information about the cfe-commits mailing list