[PATCH] D82122: [analyzer][Liveness][RFC][NFC] Propose to turn statement liveness into expression liveness
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 19 08:05:30 PDT 2020
NoQ added a comment.
I think you're right, this entire thing only makes sense for expressions. I think `Environment` occasionally carries values of `ReturnStmt`s (by which it means values of their sub-expressions) but even then liveness analysis doesn't need to be aware of that flex.
> no lit tests crashed on the added asserts
> the only non-expression statement it queries are `ObjCForCollectionStmt`s
Wait, how did you figure that out if not through crashing tests?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82122/new/
https://reviews.llvm.org/D82122
More information about the cfe-commits
mailing list