diff options
author | Richard Trieu <rtrieu@google.com> | 2012-05-30 01:01:11 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2012-05-30 01:01:11 +0000 |
commit | 01cf09302d32cdedeb78e417c67bc57fc88821a7 (patch) | |
tree | b379d37041e6c82c2bb91002259e1505c6fc3803 /lldb/source/Core/ModuleList.cpp | |
parent | 970c6f39da82626fcb54c0ca1deaab034ec96c12 (diff) | |
download | bcm5719-llvm-01cf09302d32cdedeb78e417c67bc57fc88821a7.tar.gz bcm5719-llvm-01cf09302d32cdedeb78e417c67bc57fc88821a7.zip |
Add new -Wunique-enum which will warn on enums which all elements have the
same value and were initialized with literals. Clang will warn on code like
this:
enum A {
FIRST = 1,
SECOND = 1
};
llvm-svn: 157666
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
0 files changed, 0 insertions, 0 deletions