[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 15:14:41 PST 2024
================
@@ -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
More information about the cfe-commits
mailing list