Extend flow condition in the body of a for loop.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/unittests/Analysis/FlowSensitive/TransferTest.cpp | ||
---|---|---|
3577–3580 |
Mild preference for splitting into three tests, since it technically different code that's covered in each. But, up to you.
clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp | ||
---|---|---|
92 | Do we support DoStmt or is that missing? |
clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp | ||
---|---|---|
92 | Good question. I think it's worth adding support for DoStmt, but that won't be very useful at this point because the condition will not always be true within the body of the loop. I'd be happy to follow up with a patch for it, but I'll first need to figure out what test to write. Ideas are welcome. : ) |
Do we support DoStmt or is that missing?