[clang] [Clang] Fix crash in EnumDecl::getValueRange with large __int128 constants (PR #173213)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 21 21:58:30 PST 2025
================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-unknown-linux-gnu %s
+
+enum E { // expected-warning {{enumeration values exceed range of largest integer}}
----------------
ojhunt wrote:
can we split this into two separate enums so we don't have a single warning conflating both values?
https://github.com/llvm/llvm-project/pull/173213
More information about the cfe-commits
mailing list