We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cdd9f8 commit 9cce9a2Copy full SHA for 9cce9a2
clang/lib/Analysis/LifetimeSafety.cpp
@@ -148,7 +148,7 @@ class OriginManager {
148
149
OriginID get(const ValueDecl &D) {
150
auto It = DeclToOriginID.find(&D);
151
- // TODO: This should be an assert(It != ExprToOriginID.end()). The current
+ // TODO: This should be an assert(It != DeclToOriginID.end()). The current
152
// implementation falls back to getOrCreate to avoid crashing on
153
// yet-unhandled pointer expressions, creating an empty origin for them.
154
if (It == DeclToOriginID.end())
0 commit comments