commit | af3b980ef367e031051afd67ca3475bb7aa32db8 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Oct 10 00:54:01 2013 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Oct 10 00:54:01 2013 +0000 |
tree | 36f700e6616fa12b0adfd2982ae78ecb94194f58 | |
parent | 605b3d7ac0e7d1a1e12003a5b137fc948395cf25 [diff] |
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