aaron.ballman added inline comments.
================ Comment at: clang/test/AST/Interp/literals.cpp:875 1 ? 0 : 1; + sizeof(A); + alignof(A); ---------------- Let's make sure we still reject this: ``` constexpr int oh_my() { int x = 0; sizeof(int[x++]); // This would usually be evaluated because VLAs are terrible return x; } ``` https://godbolt.org/z/E3jx6co46 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149834/new/ https://reviews.llvm.org/D149834 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits