From: Rui Ueyama Date: Fri, 11 Nov 2016 22:41:47 +0000 (+0000) Subject: Fix typo in comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d8b101b32676c919c8511536c901f7ce40b6060;p=llvm Fix typo in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286657 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 6a2c8f64173..b6ed93e9946 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -767,7 +767,7 @@ private: /// /// std::vector 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: