[clang] [Clang] Support MSPropertyRefExpr as placement arg to new-expression (PR #75883)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 16:31:03 PST 2024
================
@@ -2286,6 +2286,9 @@ ExprResult Sema::BuildCXXNew(SourceRange Range, bool UseGlobal,
bool PassAlignment = getLangOpts().AlignedAllocation &&
Alignment > NewAlignment;
+ if (CheckArgsForPlaceholders(PlacementArgs))
----------------
Sirraide wrote:
Oh, and Objective-C++ properties were suffering from the same problem, so this now also fixes those in new-expressions.
https://github.com/llvm/llvm-project/pull/75883
More information about the cfe-commits
mailing list