Skip to content

Commit 9cce9a2

Browse files
authored
Fix DeclToOriginID typo
1 parent 0cdd9f8 commit 9cce9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Analysis/LifetimeSafety.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class OriginManager {
148148

149149
OriginID get(const ValueDecl &D) {
150150
auto It = DeclToOriginID.find(&D);
151-
// TODO: This should be an assert(It != ExprToOriginID.end()). The current
151+
// TODO: This should be an assert(It != DeclToOriginID.end()). The current
152152
// implementation falls back to getOrCreate to avoid crashing on
153153
// yet-unhandled pointer expressions, creating an empty origin for them.
154154
if (It == DeclToOriginID.end())

0 commit comments

Comments
 (0)