[PATCH] D12912: ScalarEvolution: added tmp to avoid use-after-dtor in for loop.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 14:50:00 PDT 2015
eugenis added inline comments.
================
Comment at: lib/Analysis/ScalarEvolution.cpp:8398
@@ +8397,3 @@
+ for (SCEVUnknown *U = FirstUnknown; U;) {
+ SCEVUnknown *tmp = U;
+ U = U->Next;
----------------
I think the name should start with a capital letter: Tmp.
http://reviews.llvm.org/D12912
More information about the llvm-commits
mailing list