]> granicus.if.org Git - clang/commit
Struct GEPs must use i32, not whatever size_t is. It should be safe
authorJohn McCall <rjmccall@apple.com>
Thu, 1 Dec 2016 23:51:30 +0000 (23:51 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 1 Dec 2016 23:51:30 +0000 (23:51 +0000)
commitec5f181adcdc11d65b8f79f7a12a36258a68a10f
tree39bce3f7de7d7f70044422f0b8bd0c6403b0e9b2
parent21dddd9d6fb6e032413b44629441c2a9dd56239c
Struct GEPs must use i32, not whatever size_t is.  It should be safe
to do this unconditionally, given that the indices will always be small
constant integers anyway.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288440 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ConstantBuilder.h