diff options
| author | Josh Berdine <josh@berdine.net> | 2021-03-25 23:07:46 +0000 |
|---|---|---|
| committer | Josh Berdine <josh@berdine.net> | 2021-03-26 11:49:13 +0000 |
| commit | b06c669114e2e903ca3941e3ec738f868c863eee (patch) | |
| tree | 478aa625fbbb281a8132f83d6121b3dbb3e3c2bb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c39460cc4f7c000ad0daf444bd42c4e9cb937e93 (diff) | |
[NFC][OCaml] Simplify llvm_global_initializer using ptr_to_option
This diff uses ptr_to_option to convert a nullable C pointer to an
OCaml option instead of the redundant implementation in
llvm_global_initializer.
Differential Revision: https://reviews.llvm.org/D99391
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
