commit | ad69e0cc6590f2d208fa863c48697563960e4a61 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Sun Jun 02 08:11:22 2013 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Sun Jun 02 08:11:22 2013 +0000 |
tree | e922433cd1d2378d0375a2cee335943dc5b6c0b7 | |
parent | e67ca5803ac9e39cc31ed1ad9576e1626c8141eb [diff] |
Properly consider the range of enum for range comparisons in C mode In some cases, clang applies the C++ rules for computing the range of a value when said value is an enum. Instead, apply C semantics when in C mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183084 91177308-0d34-0410-b5e6-96231b3b80d8