Move from llvm::makeArrayRef to ArrayRef deduction guides - last part
This is a follow-up to https://reviews.llvm.org/D140896, split into several parts as it touches a lot of files. Differential Revision: https://reviews.llvm.org/D141298
This commit is contained in:
@@ -919,8 +919,8 @@ public:
|
||||
if (failed(reader.parseVarInt(dataSize)) ||
|
||||
failed(reader.parseBytes(dataSize, data)))
|
||||
return failure();
|
||||
result = llvm::makeArrayRef(reinterpret_cast<const char *>(data.data()),
|
||||
data.size());
|
||||
result = llvm::ArrayRef(reinterpret_cast<const char *>(data.data()),
|
||||
data.size());
|
||||
return success();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user