Skip to content

Commit 1574e85

Browse files
Merge pull request #70159 from weliveindetail/main
[Frontend] Drop self-assignment of IRGenOpts.DWARFVersion (NFC)
2 parents 89cdc6d + ec8cbd4 commit 1574e85

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,10 +2253,6 @@ int swift::performFrontend(ArrayRef<const char *> Args,
22532253
trace.emplace(*buffer);
22542254
});
22552255

2256-
// Setting DWARF Version based on frontend options.
2257-
IRGenOptions &IRGenOpts = Invocation.getIRGenOptions();
2258-
IRGenOpts.DWARFVersion = IRGenOpts.DWARFVersion;
2259-
22602256
// The compiler invocation is now fully configured; notify our observer.
22612257
if (observer) {
22622258
observer->parsedArgs(Invocation);

0 commit comments

Comments
 (0)