David Stone

Results 19 comments of David Stone

Note that it is specific to the terse syntax -- the following code is correctly rejected: ``` auto lambda = [](auto) requires false {}; int main() { lambda(1); } ```

Confirmed that this is fixed.

It would be even nicer if `-fconcepts` and `-fconcepts-ts` were both ignored and this branch just accepted code with concepts without needing any special flags. Why is this behind a...

I'm not sure what the correct behavior is here, by the way: diagnosing the unexpanded pack or treating the concept as always false.

Here is a simpler reproduction: ``` struct s { int x; }; decltype(s()) f(); int x = f().x; ``` ``` clang-10: /home/david/llvm-concepts/clang/lib/Sema/SemaExprMember.cpp:510: clang::ExprResult clang::Sema::ActOnDependentMemberExpr(clang::Expr *, clang::QualType, bool, clang::SourceLocation, const clang::CXXScopeSpec...

Resolved with the latest commits (not yet on Godbolt)

I'd rather have my rejoin delayed by half a second or whatever it is and get the full information.