mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Delete the unused performXXX() functions.
Swift SVN r13531
This commit is contained in:
@@ -147,16 +147,6 @@ static void diagnoseStaticReports(const SILInstruction *I,
|
||||
}
|
||||
}
|
||||
|
||||
void swift::emitSILDataflowDiagnostics(SILModule *M) {
|
||||
for (auto &Fn : *M)
|
||||
for (auto &BB : Fn)
|
||||
for (auto &I : BB) {
|
||||
diagnoseUnreachable(&I, M->getASTContext());
|
||||
diagnoseReturn(&I, M->getASTContext());
|
||||
diagnoseStaticReports(&I, *M);
|
||||
}
|
||||
}
|
||||
|
||||
class EmitDFDiagnostics : public SILFunctionTrans {
|
||||
virtual ~EmitDFDiagnostics() {}
|
||||
|
||||
@@ -175,5 +165,3 @@ class EmitDFDiagnostics : public SILFunctionTrans {
|
||||
SILTransform *swift::createEmitDFDiagnostics() {
|
||||
return new EmitDFDiagnostics();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user