Details
- Reviewers
erichkeane - Group Reviewers
Restricted Project - Commits
- rGf27afedc6c86: [Clang] Implement P2738R1 - constexpr cast from void*
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
80 ms | x64 debian > Clang.CXX/expr/expr_const::p5-26.cpp |
Event Timeline
clang/lib/AST/ExprConstant.cpp | ||
---|---|---|
8920 | 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 | ||
---|---|---|
8920 | Yes, we do that in a few places. I added tests. |
clang/test/CXX/expr/expr.const/p5-26.cpp | ||
---|---|---|
14 | Why no diagnostic on this line and the next? |
clang/test/CXX/expr/expr.const/p5-26.cpp | ||
---|---|---|
14 | 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.