[PATCH] D50152: [CodeGen] Merge equivalent block copy/helper functions

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 7 19:46:08 PDT 2018


ahatanak added a comment.

Since BlockVarCopyInits is a map with key `VarDecl *`, I think we want to add a flag to VarDecl (NonParmVarDeclBits) that indicates whether the copy expression can throw or not. Or is there a reason to store the bit in `BlockDecl::Capture` instead?


Repository:
  rC Clang

https://reviews.llvm.org/D50152





More information about the cfe-commits mailing list