[PATCH] D58514: Avoid needlessly copying blocks that initialize or are assigned to local auto variables to the heap

James Y Knight via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 16 19:00:10 PDT 2021


jyknight added a comment.

It appears as though this commit was reverted in Apple's XCode Clang fork -- the behavior currently in XCode matches the behavior of upstream Clang prior to this patch. Presuming that's correct, I think we should revert this upstream as well. There doesn't seem to be a good reason to have the semantics of blocks differ between Apple's clang and upstream clang.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58514/new/

https://reviews.llvm.org/D58514



More information about the cfe-commits mailing list