[PATCH] D132727: [clang][Interp] Implement array initializers and subscript expressions
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 26 04:51:36 PDT 2022
tbaeder added inline comments.
================
Comment at: clang/test/AST/Interp/arrays.cpp:56
+// LValuePath correctly.
+//static_assert(data[0] == 4);
+
----------------
tbaeder wrote:
> This is quite unfortunate, but it only fails when evaluating `data[0]` by itself, when printing the extra info for the failed `static_assert`. I roughly know what the problem is though.
Ignore this, I fixed it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132727/new/
https://reviews.llvm.org/D132727
More information about the cfe-commits
mailing list