[llvm] r356875 - Fix the build with GCC 4.8 after r356783
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 02:27:42 PDT 2019
Author: hans
Date: Mon Mar 25 02:27:42 2019
New Revision: 356875
URL: http://llvm.org/viewvc/llvm-project?rev=356875&view=rev
Log:
Fix the build with GCC 4.8 after r356783
Modified:
llvm/trunk/lib/Analysis/MemorySSA.cpp
Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=356875&r1=356874&r2=356875&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp Mon Mar 25 02:27:42 2019
@@ -665,7 +665,7 @@ template <class AliasAnalysisType> class
struct generic_def_path_iterator
: public iterator_facade_base<generic_def_path_iterator<T, Walker>,
std::forward_iterator_tag, T *> {
- generic_def_path_iterator() = default;
+ generic_def_path_iterator() {}
generic_def_path_iterator(Walker *W, ListIndex N) : W(W), N(N) {}
T &operator*() const { return curNode(); }
More information about the llvm-commits
mailing list