summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-06-02 08:11:22 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-06-02 08:11:22 +0000
commitad69e0cc6590f2d208fa863c48697563960e4a61 (patch)
treee922433cd1d2378d0375a2cee335943dc5b6c0b7 /lib/CodeGen/CGExprConstant.cpp
parente67ca5803ac9e39cc31ed1ad9576e1626c8141eb (diff)
downloadclang-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/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions