Add tarj_end() method

llvm-svn: 4684
diff --git a/llvm/include/Support/SCCIterator.h b/llvm/include/Support/SCCIterator.h
index e737f7c..a659948 100644
--- a/llvm/include/Support/SCCIterator.h
+++ b/llvm/include/Support/SCCIterator.h
@@ -215,6 +215,11 @@
   return TarjanSCC_iterator<T>::begin(G);
 }
 
+template <class T>
+TarjanSCC_iterator<T> tarj_end(T G)
+{
+  return TarjanSCC_iterator<T>::end(G);
+}
 
 //===----------------------------------------------------------------------===//