diff options
| author | Ted Kremenek <kremenek@apple.com> | 2013-10-10 00:54:01 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2013-10-10 00:54:01 +0000 |
| commit | af3b980ef367e031051afd67ca3475bb7aa32db8 (patch) | |
| tree | 36f700e6616fa12b0adfd2982ae78ecb94194f58 /lib/CodeGen/CGExpr.cpp | |
| parent | 605b3d7ac0e7d1a1e12003a5b137fc948395cf25 (diff) | |
| download | clang-af3b980ef367e031051afd67ca3475bb7aa32db8.tar.gz clang-af3b980ef367e031051afd67ca3475bb7aa32db8.tar.bz2 clang-af3b980ef367e031051afd67ca3475bb7aa32db8.tar.xz | |
Fix getIntegerTypeOrder() to properly handle enums by first unwrapping their underlying integer type. This is a precondition for calling getIntegerRank().
Fixes an assertion failure in a test case involving vectors.
Fixes <rdar://problem/15091442>
Please somebody check this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
