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

Sebastian Redl sebastian.redl at getdesigned.at
Fri May 22 15:10:45 PDT 2009


Ted Kremenek wrote:
> Author: kremenek
> Date: Fri May 22 17:03:22 2009
> New Revision: 72286
>
> URL: http://llvm.org/viewvc/llvm-project?rev=72286&view=rev
> Log:
> Modify begin()/end() for AsmStmt iterators to handle the case when Exprs.empty()
> is true. Because of recent changes to llvm::SmallVector, using these iterators
> when Exprs was empty would cause an assertion failure.
>   
Isn't that why the data() member was introduced?

Sebastian



More information about the cfe-commits mailing list