commit | 69a0438a0595913449f0a13af6dcebade2a01446 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Fri Apr 14 16:47:12 2017 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Fri Apr 14 16:47:12 2017 +0000 |
tree | 38f9da6849db9cdb907f2495043df70da7193564 | |
parent | 58bea371b9d7e6f4138cd9cc6a72863aa3530ce8 [diff] |
Delete some unnecessary boilerplate The PostIncTransform class was not pulling its weight, so delete it and use free functions instead. This also makes the use of `function_ref` more idiomatic. We were storing an instance of function_ref in the PostIncTransform class before, which was fine in that specific case, but the usage after this change is more obviously okay. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300338 91177308-0d34-0410-b5e6-96231b3b80d8