This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG64ba462b6e39: [clang][dataflow] Add a transfer function for
InitListExpr (authored by sgatev).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE
sgatev added inline comments.
Comment at: clang/lib/Analysis/FlowSensitive/Transfer.cpp:421
+QualType Type = S->getType();
+assert(Type->isStructureOrClassType());
+
xazax.hun wrote:
> Why do we expect this assertion to be true? Aren't `InitListExpr`s
sgatev updated this revision to Diff 402840.
sgatev marked an inline comment as done.
sgatev added a comment.
Address reviewers' comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118119/new/
https://reviews.llvm.org/D118119
Files:
xazax.hun added inline comments.
Comment at: clang/lib/Analysis/FlowSensitive/Transfer.cpp:421
+QualType Type = S->getType();
+assert(Type->isStructureOrClassType());
+
Why do we expect this assertion to be true? Aren't `InitListExpr`s also used to
sgatev created this revision.
sgatev added reviewers: ymandel, xazax.hun, gribozavr2.
Herald added subscribers: tschuett, steakhal, rnkovacs.
sgatev requested review of this revision.
Herald added a project: clang.
This is part of the implementation of the dataflow analysis framework.
See "[RFC]