forked from OSchip/llvm-project
b3f6e3d6d6
Instead of bailing out of parsing when we encounter an invalid template-name or template arguments in a template-id, produce an annotation token describing the invalid construct. This avoids duplicate errors and generally allows us to recover better. In principle we should be able to extend this to store some kinds of invalid template-id in the AST for tooling use, but that isn't handled as part of this change. |
||
---|---|---|
.. | ||
concept | ||
temp.arg | ||
temp.constr | ||
temp.decls | ||
temp.deduct | ||
temp.deduct.guide | ||
temp.explicit | ||
temp.fct.spec | ||
temp.names | ||
temp.param | ||
temp.res | ||
temp.spec | ||
temp.type | ||
p3.cpp |