ilya-biryukov added a comment.
another example that actually breaks:
constexpr int foo(int i) {
if (i == 1) return i/0;
}
consteval int bar(int i) {
if (i == 1) return i/0;
return i;
}
void baz(int i = foo(1), int j = bar(1)) {
}
void xxx() {
baz();
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129488/new/
https://reviews.llvm.org/D129488
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits