OSDN Git Service

Fix typo in comment.
authorRui Ueyama <ruiu@google.com>
Fri, 11 Nov 2016 22:41:47 +0000 (22:41 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 11 Nov 2016 22:41:47 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286657 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/STLExtras.h

index 6a2c8f6..b6ed93e 100644 (file)
@@ -767,7 +767,7 @@ private:
 ///
 /// std::vector<char> Items = {'A', 'B', 'C', 'D'};
 /// for (auto X : enumerate(Items)) {
-///   printf("Item %d - %c\n", X.Item, X.Value);
+///   printf("Item %d - %c\n", X.Index, X.Value);
 /// }
 ///
 /// Output: