Diagnose when a function concept declaration has parameter(s)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaDecl.cpp | ||
---|---|---|
7575 ↗ | (On Diff #39267) | I think the U+2014 should be replaced by the ASCII-friendly U+002D. |
test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp | ||
7 ↗ | (On Diff #39267) | Do we diagnose for the following? This is ill-formed as well since either [dcl.spec.concept]p5 is violated or [temp.res]p8 (same paragraph reference in C++14 as in N4527) is. |
test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp | ||
---|---|---|
7 ↗ | (On Diff #39267) | Also test: |
Comment Actions
- Cover variadic arguments in check for no params.
- Add tests to cover variadic arguments.