Skip to content

Commit 76e9e57

Browse files
authored
Merge pull request #3190 from rintaro/expr-endloc-comment
[gardening] Disambiguate the meaning of Expr::getEndLoc() in the doc comment
2 parents 48e04b4 + 16f49db commit 76e9e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Expr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class alignas(8) Expr {
395395
/// getStartLoc - Return the location of the start of the expression.
396396
SourceLoc getStartLoc() const;
397397

398-
/// \brief Retrieve the location of the end of the expression.
398+
/// \brief Retrieve the location of the last token of the expression.
399399
SourceLoc getEndLoc() const;
400400

401401
/// getLoc - Return the caret location of this expression.

0 commit comments

Comments
 (0)