[clang] [clang][bytecode] Implement case ranges (PR #168418)
marius doerner via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 18 11:07:23 PST 2025
Marius =?utf-8?q?Dörner?= <marius.doerner1 at icloud.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/168418 at github.com>
================
@@ -86,3 +86,71 @@ constexpr int another_test(int val) { // both-note {{declared here}}
}
static_assert(another_test(1) == 100, ""); // both-error {{static assertion failed}} \
// both-note {{evaluates to}}
+
+namespace gnurange {
+constexpr int l(int n) {
----------------
mariusdr wrote:
done
https://github.com/llvm/llvm-project/pull/168418
More information about the cfe-commits
mailing list