| commit | b9fa512954b1cd89958bdbd34b53329d6887e859 | [log] [tgz] |
|---|---|---|
| author | Alp Toker <alp@nuanti.com> | Mon Jan 06 11:31:18 2014 +0000 |
| committer | Alp Toker <alp@nuanti.com> | Mon Jan 06 11:31:18 2014 +0000 |
| tree | d6bcfd61fe41a3ec46aad42106f7d45973d9b79b | |
| parent | 8c44db50d646ae0d42c6473e096934c72fecdfd5 [diff] |
Highlight the previous underlying enum type when diagnosing a mismatch
enum-scoped.cpp:93:6: error: enumeration redeclared with different underlying type 'short' (was 'int')
enum Redeclare6 : short;
^
enum-scoped.cpp:92:6: note: previous declaration is here
enum Redeclare6 : int;
^ ~~~
The redeclaration source range is still missing but this is a step forward,
potentially edging towards a FixIt.
llvm-svn: 198601