mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Frontend] In performFrontend() drop self-assignment of IRGenOpts.DWARFVersion (NFC)
This commit is contained in:
@@ -2253,10 +2253,6 @@ int swift::performFrontend(ArrayRef<const char *> Args,
|
||||
trace.emplace(*buffer);
|
||||
});
|
||||
|
||||
// Setting DWARF Version based on frontend options.
|
||||
IRGenOptions &IRGenOpts = Invocation.getIRGenOptions();
|
||||
IRGenOpts.DWARFVersion = IRGenOpts.DWARFVersion;
|
||||
|
||||
// The compiler invocation is now fully configured; notify our observer.
|
||||
if (observer) {
|
||||
observer->parsedArgs(Invocation);
|
||||
|
||||
Reference in New Issue
Block a user