[PATCH] D149838: [clang][dataflow] Eliminate `SkipPast::ReferenceThenPointer`.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 11 06:28:04 PDT 2023
ymandel accepted this revision.
ymandel added inline comments.
================
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:840
+ return nullptr;
+ } else {
+ return cast<AggregateStorageLocation>(Loc);
----------------
nit: no need for `else` since `if` branch always returns
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149838/new/
https://reviews.llvm.org/D149838
More information about the cfe-commits
mailing list