diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index f07c719f194..9ba71fcca8a 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -53,7 +53,7 @@ public: assert(!It.atEnd() && "pred_iterator out of range!"); return cast(*It)->getParent(); } - inline pointer *operator->() const { return &(operator*()); } + inline pointer *operator->() const { return &operator*(); } inline Self& operator++() { // Preincrement assert(!It.atEnd() && "pred_iterator out of range!");