Skip to content

Commit cfd0362

Browse files
committed
[SIL] NFC: Remove a dead declaration
1 parent 2ea4316 commit cfd0362

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

include/swift/SIL/SILModule.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,6 @@ class SILModule {
280280
/// invalidation message is sent.
281281
llvm::SetVector<DeleteNotificationHandler*> NotificationHandlers;
282282

283-
// Intentionally marked private so that we need to use 'constructSIL()'
284-
// to construct a SILModule.
285283
SILModule(ModuleDecl *M, Lowering::TypeConverter &TC,
286284
const SILOptions &Options, const DeclContext *associatedDC,
287285
bool wholeModule);
@@ -355,17 +353,6 @@ class SILModule {
355353
/// Erase a global SIL variable from the module.
356354
void eraseGlobalVariable(SILGlobalVariable *G);
357355

358-
/// Construct a SIL module from an AST module.
359-
///
360-
/// The module will be constructed in the Raw stage. The provided AST module
361-
/// should contain source files.
362-
///
363-
/// If a source file is provided, SIL will only be emitted for decls in that
364-
/// source file.
365-
static std::unique_ptr<SILModule>
366-
constructSIL(ModuleDecl *M, Lowering::TypeConverter &TC,
367-
const SILOptions &Options, FileUnit *sf = nullptr);
368-
369356
/// Create and return an empty SIL module that we can
370357
/// later parse SIL bodies directly into, without converting from an AST.
371358
static std::unique_ptr<SILModule>

0 commit comments

Comments
 (0)