summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-06 11:31:06 +0000
committerAlp Toker <alp@nuanti.com>2014-01-06 11:31:06 +0000
commitfe945a37b5d700acf4ef264b6e2c4ab43d771b46 (patch)
treee2cceff21e5cda89b5c1f7a853919fad89029495 /lib/CodeGen/CGExprAgg.cpp
parent5e3c8acfedc7726810bf376bc8e32c8c686fc3a3 (diff)
downloadclang-fe945a37b5d700acf4ef264b6e2c4ab43d771b46.tar.gz
clang-fe945a37b5d700acf4ef264b6e2c4ab43d771b46.tar.bz2
clang-fe945a37b5d700acf4ef264b6e2c4ab43d771b46.tar.xz
Diagnose enum redeclarations properly
In all three checks, the note indicates a previous declaration and never a 'use'. Before: enum-scoped.cpp:92:6: note: previous use is here enum Redeclare6 : int; ^ After: enum-scoped.cpp:92:6: note: previous declaration is here enum Redeclare6 : int; ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions