diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/CFG.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index 0e48ef5..8b68627 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -104,6 +104,7 @@ public: inline const _Self &operator=(const _Self &I) { assert(Term == I.Term &&"Cannot assign iterators to two different blocks!"); idx = I.idx; + return *this; } inline bool operator==(const _Self& x) const { return idx == x.idx; } |