[PATCH] D141814: [llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 15 23:55:54 PST 2023


serge-sans-paille added a comment.

LGTM



================
Comment at: lldb/source/Host/common/NativeProcessProtocol.cpp:652
 
   auto data =
+      llvm::MutableArrayRef(static_cast<uint8_t *>(buf), bytes_read);
----------------
random nit: This could be rewritten as

```
llvm::MutableArrayRef data(static_cast<uint8_t *>(buf), bytes_read);
```

now


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141814/new/

https://reviews.llvm.org/D141814



More information about the llvm-commits mailing list