================
@@ -136,6 +136,19 @@ class alignas(8) InitializedEntity {
     // that diagnostic text needs to be updated as well.
   };
 
+  enum class NRVOKind { Forbidden, Allowed };
+
+  enum class NewArrayKind {
+    KnownLength,
+    UnknownLength,
+  };
+
+  enum class ImplicitFieldInitKind { No, Yes };
----------------
shafik wrote:

Wouldn't it be better to have one enum `FieldInitKind` and enumerators, 
`Implicit`, 'Default` and `ParanAgg`? 

https://github.com/llvm/llvm-project/pull/185335
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to