Avoid warnings about the parameter G being unused.

llvm-svn: 142573
This commit is contained in:
Duncan Sands 2011-10-20 08:56:41 +00:00
parent e8f8cf1f33
commit 4afb312617

View File

@ -139,7 +139,7 @@ public:
// Provide static "constructors"...
static inline _Self begin(const GraphT &G){return _Self(GT::getEntryNode(G));}
static inline _Self end (const GraphT &G) { return _Self(); }
static inline _Self end (const GraphT &) { return _Self(); }
// Direct loop termination test: I.isAtEnd() is more efficient than I == end()
inline bool isAtEnd() const {