Prior to the patch, for an invalid type of declarator, the TInfo's location was
invalid. This patch would improve the tooling (syntax-tree) on handling broken
code.
see the following example:
void test(undef); // before: ParmVarDecl <col:11, <invalid sloc>> col:16 invalid 'int' // after: ParmVarDecl <col:11> col:16 invalid 'int'
why endloc rather than start or something else?