Commits

David Farler committed 21185856405
QoI: Provide a fix-it for repeated identifiers in function declarations A function declaration like: func dog cow() {} ... yields a bunch of noisy diagnostics about expecting certain tokens, like "expected '(' in argument list of function declaration", or the dreaded "consecutive statements on a line must be separated by ';'". Instead, look for a repeated identifier in this position and affirm that the repeated identifier wasn't expected, suggesting that maybe this was a single identifier with a break in it. rdar://problem/25761940