OSDN Git Service

Update comment to be more clear.
authorEric Christopher <echristo@gmail.com>
Sat, 20 Jun 2020 21:44:41 +0000 (14:44 -0700)
committerEric Christopher <echristo@gmail.com>
Sat, 20 Jun 2020 21:44:41 +0000 (14:44 -0700)
clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp

index 0a3861e..67f281b 100644 (file)
@@ -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.
 ///