[PATCH] D158056: [clang] Implement constexpr operator[] for vectors
Joey Rabil via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 16 06:44:47 PDT 2023
DaPorkchop_ updated this revision to Diff 550731.
DaPorkchop_ added a comment.
Fixed test code for `CodeGenCXX/temporaries.cpp`
Creating and extracting a reference to a temporary
vector's element is now able to be evaluated at compile
time, which made this test case fail (since it was looking
for code which no longer needs to be generated).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158056/new/
https://reviews.llvm.org/D158056
Files:
clang/include/clang/Basic/DiagnosticASTKinds.td
clang/lib/AST/ExprConstant.cpp
clang/lib/AST/Interp/State.h
clang/test/CodeGenCXX/temporaries.cpp
clang/test/SemaCXX/constexpr-vectors.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158056.550731.patch
Type: text/x-patch
Size: 58793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230816/f5dd99ed/attachment-0001.bin>
More information about the cfe-commits
mailing list