createStorageLocation in DataflowEnvironment is now a trivial wrapper around the logic in DataflowAnalysisContext.
Additionally, getObjectFields and getFieldsFromClassHierarchy (required for the implementation of createStorageLocation) are also moved to DataflowAnalysisContext.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h | ||
|---|---|---|
| 91–92 | Let's implement this for the new members you are adding and keep the existing members in DataflowEnvironment as they are. I suggest calling the new ones getStableStorageLocation. | |
| 94–95 | ||
| 102–104 | ||
| 107–109 | ||
| clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp | ||
| 41–43 | I think it makes sense to keep this comment in the wrapper in DataflowEnvironment. Same for the one below. | |
| clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h | ||
|---|---|---|
| 47 | ||