[clang] [Clang] Fix conversion from floats to bool-backed enums per CWG1094 (PR #211172)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 22 03:41:15 PDT 2026


================
@@ -111,3 +119,34 @@ namespace cwg1070 { // cwg1070: 3.5
   C c = {};
 #endif
 } // namespace cwg1070
+
+#if __cplusplus >= 201103L
----------------
Endilll wrote:

Put `#if`/`#endif` pair within the cwg1904 namespace

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


More information about the cfe-commits mailing list