commit | 4c4c2bb48cac89b5f8da2713eceb35fd92c2540b | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Oct 19 21:33:05 2011 +0000 |
committer | Stephen Hines <srhines@google.com> | Fri Nov 11 11:43:21 2011 -0800 |
tree | 43d4856d4a5497a880db33cd4cbc4c092695e638 | |
parent | 3da576c5b43325d9b82dd32d0b6eb0db5edcb97d [diff] |
Improve the diagnostic when a comma ends up at the end of a declarator group instead of a semicolon (as sometimes happens during refactorings). When such a comma is seen at the end of a line, and is followed by something which can't possibly be a declarator (or even something which might be a plausible typo for a declarator), suggest that a semicolon was intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142544 91177308-0d34-0410-b5e6-96231b3b80d8