This revision was automatically updated to reflect the committed changes.
Closed by commit rGa1b2b7d9790b: [clang][dataflow] Remove IndirectionValue
class, moving PointeeLoc field into… (authored by wyt, committed by gribozavr).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:63
-auto *IndVal2 = cast(Val2);
-assert(IndVal1->getKind() == IndVal2->getKind());
-
wyt added inline comments.
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:63
-auto *IndVal2 = cast(Val2);
-assert(IndVal1->getKind() == IndVal2->getKind());
-if (>getPointeeLoc() == >getPointeeLoc())
gribozavr2 wrote:
> This
wyt updated this revision to Diff 435271.
wyt marked 2 inline comments as done.
wyt added a comment.
Rename function as suggested
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127312/new/
https://reviews.llvm.org/D127312
Files:
gribozavr2 added inline comments.
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:53
+static bool indirectionEquivalentValues(Value *Val1, Value *Val2) {
+ if (auto *IndVal1 = dyn_cast(Val1)) {
WDYT about "areEquivalentIndirectionValues"?