Skip to content

Commit f34964b

Browse files
committed
[Frontend] NFC: Remove a mutable SILOptions accessor
We shouldn't expose the ability to mutate the SILOptions through the CompilerInstance.
1 parent f7ae7c0 commit f34964b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/swift/Frontend/Frontend.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ class CompilerInstance {
494494

495495
bool hasASTContext() const { return Context != nullptr; }
496496

497-
SILOptions &getSILOptions() { return Invocation.getSILOptions(); }
498497
const SILOptions &getSILOptions() const { return Invocation.getSILOptions(); }
499498

500499
Lowering::TypeConverter &getSILTypes();

0 commit comments

Comments
 (0)