tbaeder marked an inline comment as done.
tbaeder added inline comments.
================
Comment at: clang/test/AST/Interp/cxx17.cpp:7
+
+struct F { int a; int b;};
+constexpr F getF() {
----------------
shafik wrote:
> It would also be good to test references, bit-fields, volatile and tuple-like
> types if possible, if not then leave a FIXME.
Clang doesn't seem to support `volatile` in constant expressions at all right
now(?). Can you come up with a reproducer that works? All I get is errors about
a non-literal type: https://godbolt.org/z/PbevGf3E8
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138802/new/
https://reviews.llvm.org/D138802
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits