[PATCH] D50948: lambdas in modules: change storage for LambdaDefinitionData

Steve O'Brien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 19 11:13:27 PDT 2018


elsteveogrande updated this revision to Diff 166148.
elsteveogrande added a comment.

Change `Optional` to `unique_ptr` instead, to at least save an allocation and keep the same semantics.  Reverified with `ninja check-clang`.


Repository:
  rC Clang

https://reviews.llvm.org/D50948

Files:
  include/clang/AST/DeclCXX.h
  lib/AST/DeclCXX.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50948.166148.patch
Type: text/x-patch
Size: 12888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180919/95f89063/attachment-0001.bin>


More information about the cfe-commits mailing list