[llvm-commits] [llvm] r107881 - /llvm/trunk/include/llvm/Support/CFG.h
Gabor Greif
ggreif at gmail.com
Thu Jul 8 09:52:57 PDT 2010
Author: ggreif
Date: Thu Jul 8 11:52:57 2010
New Revision: 107881
URL: http://llvm.org/viewvc/llvm-project?rev=107881&view=rev
Log:
remove unneeded parens
Modified:
llvm/trunk/include/llvm/Support/CFG.h
Modified: llvm/trunk/include/llvm/Support/CFG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CFG.h?rev=107881&r1=107880&r2=107881&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CFG.h (original)
+++ llvm/trunk/include/llvm/Support/CFG.h Thu Jul 8 11:52:57 2010
@@ -53,7 +53,7 @@
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!");
More information about the llvm-commits
mailing list