diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-04-14 16:47:12 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-04-14 16:47:12 +0000 |
commit | 369f3039a3b5efb758e339a2452313f681cfc789 (patch) | |
tree | 22cf3c3e2d6f95c7719a49f3fb171f9393173c88 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 4fe9d6c640e81457db1350766bf6dfef118bcacd (diff) | |
download | llvm-369f3039a3b5efb758e339a2452313f681cfc789.zip llvm-369f3039a3b5efb758e339a2452313f681cfc789.tar.gz llvm-369f3039a3b5efb758e339a2452313f681cfc789.tar.bz2 |
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.
llvm-svn: 300338
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions