[PATCH] D60123: [AST] Forbid copy/move of statements/declarations/types.

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 06:19:09 PDT 2019


riccibruno added a comment.

In D60123#1451307 <https://reviews.llvm.org/D60123#1451307>, @riccibruno wrote:

> In D60123#1451303 <https://reviews.llvm.org/D60123#1451303>, @lebedev.ri wrote:
>
> > Probably `Decl` too?
>
>
> Yep. I though it was already done but after checking it seems I remembered incorrectly.


Huh, never mind. It seems that at least `ImplicitParamDecl`s are used in a `SmallVector`, and this requires the copy-constructor to be usable.


Repository:
  rC Clang

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

https://reviews.llvm.org/D60123





More information about the cfe-commits mailing list