commit | c2801b164018b2c7d2e7a20a617e2953fbbdc07d | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Fri Jul 06 20:17:42 2018 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Fri Jul 06 20:17:42 2018 +0000 |
tree | 33534b2f1239ba24b8898567aa5644d63ae71fb9 | |
parent | cfc86d498749291230353638b8336901db3f1b40 [diff] |
Use Type::isIntOrPtrTy where possible, NFC It's a bit neater to write T.isIntOrPtrTy() over `T.isIntegerTy() || T.isPointerTy()`. I used Python's re.sub with this regex to update users: r'([\w.\->()]+)isIntegerTy\(\)\s*\|\|\s*\1isPointerTy\(\)' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336462 91177308-0d34-0410-b5e6-96231b3b80d8