erichkeane added inline comments.

================
Comment at: clang/lib/Parse/ParseDeclCXX.cpp:995
   DeclEnd = Tok.getLocation();
-  ExpectAndConsumeSemi(diag::err_expected_semi_after_static_assert);
+  ExpectAndConsumeSemi(diag::err_expected_semi_after_static_assert , 
SavedTok.getName()); //passing the token used to the error message.
 
----------------
aaron.ballman wrote:
> My suggestion is slightly different from Erich's (mine has whitespace and 
> capitalization fixes), also, this is definitely over the 80 col limit, so you 
> should format the patch.
Ah, missed that <3


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129048

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

Reply via email to