diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-02-17 08:37:06 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-02-17 08:37:06 +0000 |
commit | 712563bba42c69f924739768832d1a23c71c95d5 (patch) | |
tree | b8417c78f265b955bc13b2d23882ea56717efd72 /clang/docs/doxygen.header | |
parent | 491eb276a744025d04d01877df722aebb823f177 (diff) | |
download | bcm5719-llvm-712563bba42c69f924739768832d1a23c71c95d5.tar.gz bcm5719-llvm-712563bba42c69f924739768832d1a23c71c95d5.zip |
Implement -Wenum-compare, which warns when comparing two enums of
different types. We omit the warning when the enum types are anonymous.
Unlike GCC, this warning does not distinguish between C++ and C/ObjC for
controling whether it is on by default, it is always on by default.
Original patch contributed by Richard Trieu (@ Google), I fixed some
style issues, and cleaned it up for submission.
llvm-svn: 125739
Diffstat (limited to 'clang/docs/doxygen.header')
0 files changed, 0 insertions, 0 deletions