aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-04-14 16:47:12 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-04-14 16:47:12 +0000
commit369f3039a3b5efb758e339a2452313f681cfc789 (patch)
tree22cf3c3e2d6f95c7719a49f3fb171f9393173c88 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent4fe9d6c640e81457db1350766bf6dfef118bcacd (diff)
downloadllvm-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