[all-commits] [llvm/llvm-project] 782ece: [clang][dataflow] Replace initValueInStorageLocati...
Stanislav Gatev via All-commits
all-commits at lists.llvm.org
Mon Jan 17 23:15:04 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 782eced561492c74f7b4409d6ee7eee84a1647c7
https://github.com/llvm/llvm-project/commit/782eced561492c74f7b4409d6ee7eee84a1647c7
Author: Stanislav Gatev <sgatev at google.com>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
Log Message:
-----------
[clang][dataflow] Replace initValueInStorageLocation with createValue
Since Environment's setValue method already does part of the work that
initValueInStorageLocation does, we can factor out a new createValue
method to reduce the duplication.
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/D117493
More information about the All-commits
mailing list