tbaeder added a comment.
Ping
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147621/new/
https://reviews.llvm.org/D147621
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaeder updated this revision to Diff 519434.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147621/new/
https://reviews.llvm.org/D147621
Files:
clang/lib/AST/Interp/Interp.cpp
clang/lib/AST/Interp/Interp.h
clang/test/AST/Interp/records.cpp
Index: clang/test/AST/Interp/records.cpp
shafik added a comment.
Two cases to consider: https://godbolt.org/z/ovofPExGK
namespace MutableFields {
class Foo {
public:
constexpr Foo() : I(1) {}
mutable int I; // ref-note {{declared here}}
};
constexpr int foo() {
constexpr Foo F;
F.I = 12;
tbaeder added a comment.
Ping
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147621/new/
https://reviews.llvm.org/D147621
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://revi