================
@@ -2286,6 +2286,9 @@ ExprResult Sema::BuildCXXNew(SourceRange Range, bool 
UseGlobal,
   bool PassAlignment = getLangOpts().AlignedAllocation &&
                        Alignment > NewAlignment;
 
+  if (CheckArgsForPlaceholders(PlacementArgs))
----------------
erichkeane wrote:

A bit of both, this should check the behavior of other expression types.  This 
changes general 'placement new' behaviors, so it looks like it changes existing 
placement new behaviors that are seemingly untested, so should be showing off  
THOSE as well.

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

Reply via email to