[PATCH] D138210: [clang] Require parameter pack to be last argument in concepts.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 21 08:23:21 PST 2022


ilya-biryukov added a comment.

The error itself makes sense, but I don't quite understand why usages of `invalid<int>` did not produce errors before. Any idea why that happened? Are there some other bugs hiding?
It seems that at some point when parsing this code:

  static_assert(invalid<int> also here ;

we chose to silently recover by skipping until the semicolon, but never actually produced any errors. Is there a code path that should also be updated to handle that?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138210/new/

https://reviews.llvm.org/D138210



More information about the cfe-commits mailing list