[PATCH] D130726: [clang][dataflow] Handle multiple context-sensitive calls to the same function
Stanislav Gatev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 3 22:50:28 PDT 2022
sgatev added inline comments.
================
Comment at: clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:250
+ // scope, we do not propagate the maps.
+ this->LocToVal = std::move(CalleeEnv.LocToVal);
+ this->MemberLocToStruct = std::move(CalleeEnv.MemberLocToStruct);
----------------
Does `std::move` help here? `CalleeEnv` is a const reference.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130726/new/
https://reviews.llvm.org/D130726
More information about the cfe-commits
mailing list