================
@@ -2234,6 +2234,17 @@ enum class CXXNewInitializationStyle {
   Braces
 };
 
+struct ImplicitAllocationParameters {
+  bool PassTypeIdentity;
----------------
erichkeane wrote:

For things that are stored (I think these arent?), we typically prefer 
bitfields for size.

As far as scoped-enum: it makes call sites much more readable than a bunch of 
bools, and ensures type safety.  A type that only has bools is a little less 
type safe, but its been a while since i reviewed this so i'm not sure how I 
feel about it yet.

https://github.com/llvm/llvm-project/pull/113510
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to