The end of the vector varies since we do insert.
This commit is contained in:
parent
3d7b328517
commit
389ff17151
@ -30,8 +30,7 @@ namespace cling {
|
||||
typedef llvm::SmallVector<Stmt*, 32> Statements;
|
||||
Statements Stmts;
|
||||
Stmts.append(CS->body_begin(), CS->body_end());
|
||||
for (Statements::iterator I = Stmts.begin(), E = Stmts.end();
|
||||
I != E; ++I) {
|
||||
for (Statements::iterator I = Stmts.begin(); I != Stmts.end(); ++I) {
|
||||
if (!TraverseStmt(*I) && !m_HandledDecls.count(m_FoundDRE->getDecl())) {
|
||||
Sema::DeclGroupPtrTy VDPtrTy
|
||||
= m_Sema->ConvertDeclToDeclGroup(m_FoundDRE->getDecl());
|
||||
|
Loading…
x
Reference in New Issue
Block a user