Skip to content

Commit ec8cbd4

Browse files
[Frontend] In performFrontend() drop self-assignment of IRGenOpts.DWARFVersion (NFC)
1 parent 8167476 commit ec8cbd4

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)