diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-06 11:31:18 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-06 11:31:18 +0000 |
commit | b9fa512954b1cd89958bdbd34b53329d6887e859 (patch) | |
tree | d6bcfd61fe41a3ec46aad42106f7d45973d9b79b /llvm/lib | |
parent | 8c44db50d646ae0d42c6473e096934c72fecdfd5 (diff) | |
download | bcm5719-llvm-b9fa512954b1cd89958bdbd34b53329d6887e859.tar.gz bcm5719-llvm-b9fa512954b1cd89958bdbd34b53329d6887e859.zip |
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
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions