Skip to content

Commit 4cb0960

Browse files
committed
Keep part of old FIXME
1 parent b93c10f commit 4cb0960

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,7 @@ diagnoseUnwrapCall(const Expr *ObjectExpr, const Environment &Env) {
11321132
}
11331133

11341134
// Record that this unwrap is *not* provably safe.
1135+
// FIXME: include the name of the optional (if applicable).
11351136
auto Range = CharSourceRange::getTokenRange(ObjectExpr->getSourceRange());
11361137
return {UncheckedOptionalAccessDiagnostic{Range}};
11371138
}

0 commit comments

Comments
 (0)