Skip to content

Commit cbe01cb

Browse files
llvm-beanzbogner
andauthored
Update llvm/lib/ObjCopy/DXContainer/DXContainerObjcopy.cpp
Co-authored-by: Justin Bogner <[email protected]>
1 parent 8acfeef commit cbe01cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/ObjCopy/DXContainer/DXContainerObjcopy.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ static Error dumpPartToFile(StringRef PartName, StringRef Filename,
8080

8181
static Error handleArgs(const CommonConfig &Config, Object &Obj) {
8282
for (StringRef Flag : Config.DumpSection) {
83-
StringRef SecName;
84-
StringRef FileName;
85-
std::tie(SecName, FileName) = Flag.split("=");
83+
auto [SecName, FileName] = Flag.split("=");
8684
if (Error E = dumpPartToFile(SecName, FileName, Config.InputFilename, Obj))
8785
return E;
8886
}

0 commit comments

Comments
 (0)