diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-06-02 08:11:22 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-06-02 08:11:22 +0000 |
| commit | ad69e0cc6590f2d208fa863c48697563960e4a61 (patch) | |
| tree | e922433cd1d2378d0375a2cee335943dc5b6c0b7 /lib/CodeGen/CGExpr.cpp | |
| parent | e67ca5803ac9e39cc31ed1ad9576e1626c8141eb (diff) | |
| download | clang-ad69e0cc6590f2d208fa863c48697563960e4a61.tar.gz clang-ad69e0cc6590f2d208fa863c48697563960e4a61.tar.bz2 clang-ad69e0cc6590f2d208fa863c48697563960e4a61.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
