Skip to content

Commit ac0814e

Browse files
committed
[Gardening] Drop some unused accessors
1 parent f103405 commit ac0814e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/swift/Frontend/Frontend.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,6 @@ class CompilerInvocation {
351351
setUpInputForSILTool(StringRef inputFilename, StringRef moduleNameArg,
352352
bool alwaysSetModuleToMain, bool bePrimary,
353353
serialization::ExtendedValidationInfo &extendedInfo);
354-
bool hasSerializedAST() {
355-
return FrontendOpts.InputKind == InputFileKind::SwiftLibrary;
356-
}
357354

358355
const PrimarySpecificPaths &
359356
getPrimarySpecificPathsForAtMostOnePrimary() const;
@@ -562,13 +559,6 @@ class CompilerInstance {
562559
void setUpLLVMArguments();
563560
void setUpDiagnosticOptions();
564561
bool setUpModuleLoaders();
565-
bool isInputSwift() {
566-
return Invocation.getInputKind() == InputFileKind::Swift;
567-
}
568-
bool isInSILMode() {
569-
return Invocation.getInputKind() == InputFileKind::SIL;
570-
}
571-
572562
bool setUpInputs();
573563
bool setUpASTContextIfNeeded();
574564
void setupStatsReporter();

0 commit comments

Comments
 (0)