about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2021-07-29 13:36:44 -0700
committerDan Gohman <dev@sunfishcode.online>2021-08-19 12:02:40 -0700
commit1ae1eeec2589abf742f87ec747acd31990e3b00a (patch)
treecf2b1015fe0d737a080e1b13d7d73289cea21873 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent18a9f4628a44b2962dc8bd4b9b0026514effba2d (diff)
downloadrust-1ae1eeec2589abf742f87ec747acd31990e3b00a.tar.gz
rust-1ae1eeec2589abf742f87ec747acd31990e3b00a.zip
Rename OptionFileHandle to HandleOrInvalid and make it just wrap an Option<OwnedHandle>
The name (and updated documentation) make the FFI-only usage clearer, and wrapping Option<OwnedHandle> avoids the need to write a separate Drop or Debug impl.

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions