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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp | ||
---|---|---|
141 | Is foo() used for anything in this test? |
clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp | ||
---|---|---|
141 | not that I can see. looks left over from some previous version. want to remove it? |
clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp | ||
---|---|---|
141 | Actually it is load-bearing: the qualType() matcher below matches the return type of the function. |
Is foo() used for anything in this test?