mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] NFC: Remove a dead declaration
This commit is contained in:
@@ -280,8 +280,6 @@ private:
|
||||
/// invalidation message is sent.
|
||||
llvm::SetVector<DeleteNotificationHandler*> NotificationHandlers;
|
||||
|
||||
// Intentionally marked private so that we need to use 'constructSIL()'
|
||||
// to construct a SILModule.
|
||||
SILModule(ModuleDecl *M, Lowering::TypeConverter &TC,
|
||||
const SILOptions &Options, const DeclContext *associatedDC,
|
||||
bool wholeModule);
|
||||
@@ -355,17 +353,6 @@ public:
|
||||
/// Erase a global SIL variable from the module.
|
||||
void eraseGlobalVariable(SILGlobalVariable *G);
|
||||
|
||||
/// Construct a SIL module from an AST module.
|
||||
///
|
||||
/// The module will be constructed in the Raw stage. The provided AST module
|
||||
/// should contain source files.
|
||||
///
|
||||
/// If a source file is provided, SIL will only be emitted for decls in that
|
||||
/// source file.
|
||||
static std::unique_ptr<SILModule>
|
||||
constructSIL(ModuleDecl *M, Lowering::TypeConverter &TC,
|
||||
const SILOptions &Options, FileUnit *sf = nullptr);
|
||||
|
||||
/// Create and return an empty SIL module that we can
|
||||
/// later parse SIL bodies directly into, without converting from an AST.
|
||||
static std::unique_ptr<SILModule>
|
||||
|
||||
Reference in New Issue
Block a user