Missing a withConst, so when deducing from a string literal, a const is erroneously added to the deduced type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Sema/SemaInit.cpp | ||
---|---|---|
10707 | The "const-qualified" here was missing |
Comment Actions
Thanks for catching this. The change LGTM. I think this is https://wg21.link/cwg2681. Could you please move the test to clang/test/CXX/drs/dr26xx.cpp and keep only these tests that are in the DR? Then you could run clang/www/make_cxx_dr_status to update clang/www/cxx_dr_status.html.
The "const-qualified" here was missing