]> granicus.if.org Git - clang/commit
[ExprConstant] Allow constexpr ctor to modify non static data members
authorErik Pilkington <erik.pilkington@gmail.com>
Wed, 4 Oct 2017 00:18:55 +0000 (00:18 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Wed, 4 Oct 2017 00:18:55 +0000 (00:18 +0000)
commit15b35a3943d2743eea7908bf3eede18cbee4d7b0
treedd36e06b4ae9236cc5e8938ee6b58641b4ec8f43
parenta171bb0ee4a63cd1e6bdffc81a71bca914a929a9
[ExprConstant] Allow constexpr ctor to modify non static data members

Fixes PR19741.

Differential revision: https://reviews.llvm.org/D38483

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314865 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/SemaCXX/constant-expression-cxx1y.cpp