Date: Thu, 22 Jun 2023 21:12:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271047] [exp-run] Against llvm-16-update branch on GitHub Message-ID: <bug-271047-7788-rlAGfM4Ozq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271047-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-271047-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271047 --- Comment #74 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dcf24393421ca807899c599a53ddc5dced= b7c71dc commit cf24393421ca807899c599a53ddc5dcedb7c71dc Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-06-14 18:49:59 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-06-22 18:22:54 +0000 Merge commit 69d42eef4bec from llvm-project (by Dimitry Andric): [Clang] Show type in enum out of range diagnostic When the diagnostic for an out of range enum value is printed, it currently does not show the actual enum type in question, for example: v8/src/base/bit-field.h:43:29: error: integer value 7 is outside = the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion] static constexpr T kMax =3D static_cast<T>(kNumValues - 1); ^ This can make it cumbersome to find the cause for the problem. Add the enum type to the diagnostic message, to make it easier. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D152788 PR: 271047 MFC after: 1 month .../llvm-project/clang/include/clang/Basic/DiagnosticASTKinds.td | 4 ++-- contrib/llvm-project/clang/lib/AST/ExprConstant.cpp | 9 +++++= ---- 2 files changed, 7 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271047-7788-rlAGfM4Ozq>