Details
- Reviewers
erichkeane - Group Reviewers
Restricted Project - Commits
- rGf27afedc6c86: [Clang] Implement P2738R1 - constexpr cast from void*
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/AST/ExprConstant.cpp | ||
---|---|---|
8921 | Does this diagnostic work? In the case of the !C++26, the arity of the message is different, right? Do you have a test for this in not c++26 mode that you can post? I Am not sure we do 'fill ins' for discarded 'select' branches. |
Add tests for C++23
clang/lib/AST/ExprConstant.cpp | ||
---|---|---|
8921 | Yes, we do that in a few places. I added tests. |
clang/test/CXX/expr/expr.const/p5-26.cpp | ||
---|---|---|
13 | Why no diagnostic on this line and the next? |
clang/test/CXX/expr/expr.const/p5-26.cpp | ||
---|---|---|
13 | Why do you expect one? |
Does this diagnostic work? In the case of the !C++26, the arity of the message is different, right? Do you have a test for this in not c++26 mode that you can post? I Am not sure we do 'fill ins' for discarded 'select' branches.