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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to