mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[FrontendTool] Only validate TBD for Swift input.
This commit is contained in:
@@ -925,6 +925,9 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
allSymbols = true;
|
||||
LLVM_FALLTHROUGH;
|
||||
case FrontendOptions::TBDValidationMode::MissingFromTBD: {
|
||||
if (!inputFileKindCanHaveTBDValidated(Invocation.getInputKind()))
|
||||
break;
|
||||
|
||||
auto hasMultipleIRGenThreads = Invocation.getSILOptions().NumThreads > 1;
|
||||
bool error;
|
||||
if (PrimarySourceFile)
|
||||
|
||||
Reference in New Issue
Block a user