[NFC] Drop getSourceFileKind

This commit is contained in:
Robert Widmann
2020-09-11 21:13:39 -06:00
parent 8b725d8713
commit c3e33bec7a
3 changed files with 0 additions and 24 deletions

View File

@@ -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);
}