[PATCH] D38483: [ExprConstant] Allow constexpr ctor to modify non static data members in body

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 08:00:26 PDT 2017


erik.pilkington updated this revision to Diff 117529.
erik.pilkington marked 2 inline comments as done.
erik.pilkington added a comment.

Thanks for the feedback, in this new patch:

- insert EvaluatingDecl into EvaluatingConstructors instead of checking it in isEvaluatingDecl()
- Add a comment to the typedef


https://reviews.llvm.org/D38483

Files:
  lib/AST/ExprConstant.cpp
  test/SemaCXX/constant-expression-cxx1y.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38483.117529.patch
Type: text/x-patch
Size: 3311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171003/8100dc52/attachment.bin>


More information about the cfe-commits mailing list