diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-10-01 22:05:14 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-10-01 22:05:14 +0000 |
commit | 28164ab2ac1deea68cdb989f941728bf1860ce41 (patch) | |
tree | 6de4bf6c2b9c85021f5a4f6fb9a7bad564a0a7e9 /lib/Sema/SemaChecking.cpp | |
parent | e09f2e96781d8f60cc9e7cb9f6cdecb3fdad8282 (diff) |
Factor out enumerator APSInt adjustment into
a helper function (AdjustAPSInt) and use that
for adjusting the high bounds of case ranges
before APSInt comparisons. Fixes
http://llvm.org/bugs/show_bug.cgi?id=8135
Some minor refacorings while I am here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions