[PATCH] D42013: [WebAssembly] Use ArrayRef over raw pointers
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 12 14:51:53 PST 2018
ruiu added inline comments.
================
Comment at: wasm/InputChunks.h:150-152
+ ArrayRef<uint8_t> data() const override { return Body; }
+
+ ArrayRef<uint8_t> Body;
----------------
In lld we don't usually define trivial accessors but instead use data members directly.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D42013
More information about the llvm-commits
mailing list