Skip to content

Commit 07c2f6c

Browse files
committed
Typo
1 parent 57a913c commit 07c2f6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,7 @@ void handleConstMemberCall(const CallExpr *CE,
560560
return;
561561
if (CE->isGLValue()) {
562562
// If the call to the const method returns a reference to an optional,
563-
// we can use link the call expression to the optional via
564-
// setStorageLocation.
563+
// link the call expression to the cached StorageLocation.
565564
State.Env.setStorageLocation(*CE, *Loc);
566565
} else {
567566
// If the call to the const method returns an optional by value, we

0 commit comments

Comments
 (0)