summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-06 11:31:18 +0000
committerAlp Toker <alp@nuanti.com>2014-01-06 11:31:18 +0000
commit1402547b849fa23188cfe89dd0b0c0b452a6ffc0 (patch)
treecbef8509d196fad84883422c96ae1d54e8d5cb3a /lib/CodeGen/CGExpr.cpp
parentfe945a37b5d700acf4ef264b6e2c4ab43d771b46 (diff)
downloadclang-1402547b849fa23188cfe89dd0b0c0b452a6ffc0.tar.gz
clang-1402547b849fa23188cfe89dd0b0c0b452a6ffc0.tar.bz2
clang-1402547b849fa23188cfe89dd0b0c0b452a6ffc0.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions