summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJason Henline <jhen@google.com>2016-09-12 17:20:43 +0000
committerJason Henline <jhen@google.com>2016-09-12 17:20:43 +0000
commitc16fb8748d0e8bbc72853f26cda012302206359b (patch)
tree55eba552d323f2ee4d3450deadd6261ede4bcf73 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8d4be3aacf48db17b3c7429492ed1a36264fe30a (diff)
[SE] Clean up device and host memory slices
Summary: * Add LLVM_ATTRIBUTE_UNUSED_RESULT used to slicing methods in order to emphasize that the slicing is not done in place. * Change device memory slice function name from `drop_front` to `slice` in order to match the naming convention of `llvm::ArrayRef` and host memory slice. * Change the parameter names of host memory slice functions to `DropCount` and `TakeCount` to match device memory slice declarations. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D24464 llvm-svn: 281239
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions