[clang] [clang] Fix implicit integer conversion for opaque enums declared in class templates (PR #121039)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 10:49:31 PST 2025


=?utf-8?q?André?= Brand <andre.brand at mailbox.org>,
=?utf-8?q?André?= Brand <andre.brand at mailbox.org>,thebrandre
 <andre.brand at mailbox.org>,
=?utf-8?q?André?= Brand <andre.brand at mailbox.org>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/121039 at github.com>


================
@@ -938,6 +938,9 @@ Miscellaneous Clang Crashes Fixed
 - Fixed internal assertion firing when a declaration in the implicit global
   module is found through ADL. (GH#109879)
 
+- Fixed a crash when an unscoped enumeration declared by an opaque-enum-declaration within a class template
+  with a dependent underlying type is subject to integral promotion. (GH#117960)
----------------
cor3ntin wrote:

```suggestion
  with a dependent underlying type is subject to integral promotion. (#GH117960)
```

https://github.com/llvm/llvm-project/pull/121039


More information about the cfe-commits mailing list