bb#10757: fix C++11 compatibility issue in LoopInfo.h

0.98.2
David Raynor 11 years ago
parent 4488ae77d9
commit 49457a6c57
  1. 4
      ChangeLog
  2. 8
      libclamav/c++/llvm/include/llvm/Analysis/LoopInfo.h

@ -1,3 +1,7 @@
Wed Mar 19 09:55:08 EDT 2014 (dar)
------------------------------------
* bb#10757: fix C++11 compatibility issue in LoopInfo.h
Fri Mar 10 16:55:00 EDT 2014 (klin)
------------------------------------
* bb#10650: fix for issues with parsing malformed icon groups in PE files.

@ -814,8 +814,12 @@ public:
typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
// Add all of the predecessors of X to the end of the work stack...
TodoStack.insert(TodoStack.end(), InvBlockTraits::child_begin(X),
InvBlockTraits::child_end(X));
for (typename InvBlockTraits::ChildIteratorType PI =
InvBlockTraits::child_begin(X), PE = InvBlockTraits::child_end(X);
PI != PE; ++PI) {
typename InvBlockTraits::NodeType *N = *PI;
TodoStack.push_back(N);
}
}
}

Loading…
Cancel
Save