aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2020-06-20 14:44:41 -0700
committerEric Christopher <echristo@gmail.com>2020-06-20 14:44:41 -0700
commitef455a55bcf2cfea04a99c361b182ad18b7f03f1 (patch)
treef282d1cfd6b4988e3a6806eddafb9f198ed0c193 /clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
parentdc204193515bb9a00480966fbd6847c774794ae5 (diff)
downloadllvm-ef455a55bcf2cfea04a99c361b182ad18b7f03f1.zip
llvm-ef455a55bcf2cfea04a99c361b182ad18b7f03f1.tar.gz
llvm-ef455a55bcf2cfea04a99c361b182ad18b7f03f1.tar.bz2
Update comment to be more clear.
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp b/clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
index 0a3861e..67f281b 100644
--- a/clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
@@ -712,7 +712,7 @@ bool ForLoopIndexUseVisitor::TraverseArraySubscriptExpr(ArraySubscriptExpr *E) {
/// If we encounter a reference to IndexVar in an unpruned branch of the
/// traversal, mark this loop as unconvertible.
///
-/// This implements inclusions for convertible loops: any usages of IndexVar
+/// This determines the set of convertible loops: any usages of IndexVar
/// not explicitly considered convertible by this traversal will be caught by
/// this function.
///