[all-commits] [llvm/llvm-project] baa0f2: [clang][dataflow] Update StructValue child when as...
Stanislav Gatev via All-commits
all-commits at lists.llvm.org
Thu Feb 24 08:43:17 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: baa0f221d6df2fcce10c54751cc42284e2656c31
https://github.com/llvm/llvm-project/commit/baa0f221d6df2fcce10c54751cc42284e2656c31
Author: Stanislav Gatev <sgatev at google.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Update StructValue child when assigning a value
When assigning a value to a storage location of a struct member we
need to also update the value in the corresponding `StructValue`.
This is part of the implementation of the dataflow analysis framework.
See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev.
Reviewed-by: ymandel, xazax.hun
Differential Revision: https://reviews.llvm.org/D120414
More information about the All-commits
mailing list