Attempt to pacify buildbots after 7d80b94ca3
authorJessica Paquette <jpaquette@apple.com>
Mon, 12 Sep 2022 23:50:15 +0000 (16:50 -0700)
committerJessica Paquette <jpaquette@apple.com>
Tue, 13 Sep 2022 00:08:08 +0000 (17:08 -0700)
commiteff6a21dfb617bf1f70d81f4ed05fea282b48f5c
tree4bb4dff18ad25f1b194e91c76118e4219e689d77
parent376c7bd92aff0e4256b2842400936a9b29343045
Attempt to pacify buildbots after 7d80b94ca3

Some compilers (like all the ones I've tried) seem to NVRO the
Expected<std::vector<unique_ptr>> but other ones (like some of the bots) seem
to not want to.

Change the return type to Error and pass in the vector as an output parameter
to try and fix things.
llvm/tools/llvm-remarkutil/RemarkUtil.cpp