aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/CFG.h
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-08 16:52:57 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-08 16:52:57 +0000
commitdba3e15625db58fca295b2f46eaafef60cd5f23c (patch)
tree1eabe288b1211049ccf3b7ea1f0dbcec73f58286 /include/llvm/Support/CFG.h
parented903d746d96d071305b8182680595ba281b3f12 (diff)
downloadexternal_llvm-dba3e15625db58fca295b2f46eaafef60cd5f23c.zip
external_llvm-dba3e15625db58fca295b2f46eaafef60cd5f23c.tar.gz
external_llvm-dba3e15625db58fca295b2f46eaafef60cd5f23c.tar.bz2
remove unneeded parens
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CFG.h')
-rw-r--r--include/llvm/Support/CFG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h
index f07c719..9ba71fc 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<TerminatorInst>(*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!");