[PATCH] D40381: Parse concept definition
Saar Raz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 10 06:03:12 PST 2018
saar.raz added inline comments.
================
Comment at: lib/Parse/ParseTemplate.cpp:383
+
+ if (!Tok.is(tok::identifier)) {
+ Diag(Tok.getLocation(), diag::err_expected) << tok::identifier;
----------------
We could accept 'bool' here to be nice to people coming in from the old Concepts TS version of these decls - and emit a proper warning.
https://reviews.llvm.org/D40381
More information about the cfe-commits
mailing list