forked from OSchip/llvm-project
[Clang][Bundler][NFC] Replace SmallString<...> with StringRef
Reviewers: ABataev Reviewed By: ABataev Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73738
This commit is contained in:
parent
1d9e08ec35
commit
5be2ca2921
|
@ -530,10 +530,10 @@ public:
|
|||
|
||||
// Create an intermediate temporary file to save object after the first
|
||||
// llvm-objcopy run.
|
||||
Expected<SmallString<128u>> IntermediateObjOrErr = TempFiles.Create(None);
|
||||
Expected<StringRef> IntermediateObjOrErr = TempFiles.Create(None);
|
||||
if (!IntermediateObjOrErr)
|
||||
return IntermediateObjOrErr.takeError();
|
||||
const SmallString<128u> &IntermediateObj = *IntermediateObjOrErr;
|
||||
StringRef IntermediateObj = *IntermediateObjOrErr;
|
||||
|
||||
// Compose llvm-objcopy command line for add target objects' sections.
|
||||
BumpPtrAllocator Alloc;
|
||||
|
|
Loading…
Reference in New Issue