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

Ted Kremenek kremenek at apple.com
Fri May 22 17:10:57 PDT 2009


On May 22, 2009, at 3:10 PM, Sebastian Redl wrote:

> 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

You're right.  I missed the introduction of that member function.



More information about the cfe-commits mailing list