Skip to content

Commit 1cee4f1

Browse files
committed
address comments (x2)
1 parent 9a2e5be commit 1cee4f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Analysis/LifetimeSafety.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ struct LifetimeLattice {
546546
// TODO(opt): This key-wise join is a performance bottleneck. A more
547547
// efficient merge could be implemented using a Patricia Trie or HAMT
548548
// instead of the current AVL-tree-based ImmutableMap.
549+
// TODO(opt): Keep the state small by removing origins which become dead.
549550
LifetimeLattice join(const LifetimeLattice &Other,
550551
LifetimeFactory &Factory) const {
551552
/// Merge the smaller map into the larger one ensuring we iterate over the

0 commit comments

Comments
 (0)