Closed
Description
Expressions within a conditional operator that modify variables used in a widened bounds expression currently do not kill the widened bounds. For example,
void f(nt_array_ptr<char> p : count(i), unsigned i, int flag) {
if (*(p + i)) {
// The i++ expression should kill the widened bounds of p.
flag ? i++ : i;
}
}
Metadata
Metadata
Assignees
Labels
No labels