mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Drop getSourceFileKind
This commit is contained in:
@@ -783,8 +783,6 @@ bool CompilerInstance::createFilesForMainModule(
|
||||
ModuleDecl *mod, SmallVectorImpl<FileUnit *> &files) const {
|
||||
// Make sure the main file is the first file in the module.
|
||||
if (MainBufferID != NO_SUCH_BUFFER) {
|
||||
auto *mainFile = createSourceFileForMainModule(
|
||||
mod, Invocation.getSourceFileKind(), MainBufferID);
|
||||
files.push_back(mainFile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user