================
@@ -1870,12 +1870,19 @@ class CXXFunctionalCastExpr final
   static CXXFunctionalCastExpr *
   CreateEmpty(const ASTContext &Context, unsigned PathSize, bool 
HasFPFeatures);
 
+  static CXXFunctionalCastExpr *
+  CreateListInitializer(const ASTContext &Context, QualType T, ExprValueKind 
VK,
----------------
ojhunt wrote:

I would make both ::Create and ::CreateListInitializer take a source range, and 
forward to a CreateInternal method that takes left and right locations 
explicitly. It means in future should we switch to track isListInitialization() 
we won't have to change any call sites.

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

Reply via email to