[llvm-commits] [llvm] r142573 - /llvm/trunk/include/llvm/ADT/SCCIterator.h
Duncan Sands
baldrick at free.fr
Thu Oct 20 01:56:41 PDT 2011
Author: baldrick
Date: Thu Oct 20 03:56:41 2011
New Revision: 142573
URL: http://llvm.org/viewvc/llvm-project?rev=142573&view=rev
Log:
Avoid warnings about the parameter G being unused.
Modified:
llvm/trunk/include/llvm/ADT/SCCIterator.h
Modified: llvm/trunk/include/llvm/ADT/SCCIterator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SCCIterator.h?rev=142573&r1=142572&r2=142573&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SCCIterator.h (original)
+++ llvm/trunk/include/llvm/ADT/SCCIterator.h Thu Oct 20 03:56:41 2011
@@ -139,7 +139,7 @@
// 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 {
More information about the llvm-commits
mailing list