diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2015-09-04 22:36:18 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2015-09-04 22:36:18 +0000 |
commit | 7a7e52f3db9e806149a36fe3469a36a2e1bfe1f2 (patch) | |
tree | 71cae11746ff2b04e04ebc06c72bae4d45219feb /bindings | |
parent | 8392772a6874cff944e5d86fc7710793795d3eb7 (diff) |
Fix a bug in __builtin_object_size cast removal
Apparently there are many cast kinds that may cause implicit pointer
arithmetic to happen. In light of this, the cast ignoring logic
introduced in r246877 has been changed to only ignore a small set of
cast kinds, and a test for this behavior has been added.
Thanks to Richard for catching this before it became a bug report. :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions