Skip to content
Commit 01cf0930 authored by Richard Trieu's avatar Richard Trieu
Browse files

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
parent 970c6f39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment