[all-commits] [llvm/llvm-project] 73c988: [clang][dataflow] Fix missed fields in field set c...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Tue Feb 28 10:57:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 73c98831f6482371f9b773592478ea9e51a6b16a
https://github.com/llvm/llvm-project/commit/73c98831f6482371f9b773592478ea9e51a6b16a
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp
Log Message:
-----------
[clang][dataflow] Fix missed fields in field set construction.
When building the set of referenced fields for the `DataflowAnalysisContext`,
include fields referenced only in default member initializers. These
initializers are visited in the CFGs of constructors and so the fields must be
included when analysing constructor bodies.
Differential Revision: https://reviews.llvm.org/D144987
More information about the All-commits
mailing list