Open JonathanFoo0523 opened 1 month ago
Does this come up in practice? I don't think there is anything we can do about it, but perhaps we could add a "Troubleshooting" section to the Dredd README where scalability issues like this are discussed, explaining that in some cases one may need to either:
-fbracket-depth
to something large), orAside: Dredd always uses a lambda for the second argument of a short-circuit operator, in case it would have undefined behaviour. There could be a heuristic to avoid this in the case of expressions that evidently can have no undefined behaviour, but that is tricky; e.g. even a simple "x == y" comparison could have UB if either x or y is not initialized.
Applying and compiling:
results in compilation error