diff options
| author | Alp Toker <alp@nuanti.com> | 2014-01-06 11:31:06 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-01-06 11:31:06 +0000 |
| commit | fe945a37b5d700acf4ef264b6e2c4ab43d771b46 (patch) | |
| tree | e2cceff21e5cda89b5c1f7a853919fad89029495 /lib/CodeGen/CGExprComplex.cpp | |
| parent | 5e3c8acfedc7726810bf376bc8e32c8c686fc3a3 (diff) | |
| download | clang-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/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
