[PATCH] D87518: [analyzer][Liveness][NFC] Remove an unneeded pass to collect variables that appear in an assignment
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 11 10:54:06 PDT 2020
xazax.hun added inline comments.
================
Comment at: clang/lib/Analysis/LiveVariables.cpp:332
if (B->isAssignmentOp()) {
if (!LV.killAtAssign)
return;
----------------
Nit: Maybe moving this to the front of the function would simplify the code a bit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87518/new/
https://reviews.llvm.org/D87518
More information about the cfe-commits
mailing list