[llvm] r297988 - Clarify a comment about mapped_iterator. NFC

Jonathan Roelofs via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 13:38:00 PDT 2017


Author: jroelofs
Date: Thu Mar 16 15:37:59 2017
New Revision: 297988

URL: http://llvm.org/viewvc/llvm-project?rev=297988&view=rev
Log:
Clarify a comment about mapped_iterator. NFC

Modified:
    llvm/trunk/include/llvm/ADT/STLExtras.h

Modified: llvm/trunk/include/llvm/ADT/STLExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/STLExtras.h?rev=297988&r1=297987&r2=297988&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/STLExtras.h (original)
+++ llvm/trunk/include/llvm/ADT/STLExtras.h Thu Mar 16 15:37:59 2017
@@ -129,7 +129,7 @@ inline void deleter(T *Ptr) {
 //===----------------------------------------------------------------------===//
 
 // mapped_iterator - This is a simple iterator adapter that causes a function to
-// be dereferenced whenever operator* is invoked on the iterator.
+// be applied whenever operator* is invoked on the iterator.
 //
 template <class RootIt, class UnaryFunc>
 class mapped_iterator {




More information about the llvm-commits mailing list