[clang] [Clang] Support MSPropertyRefExpr as placement arg to new-expression (PR #75883)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 3 06:39:13 PST 2024


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

This likely needs a good collection of tests to show what it changes for NON-property related 'new' operators.  

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


More information about the cfe-commits mailing list