mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove SourceFile::UsedConformances
Sema no longer adds conformances to a per-SourceFile list that it thinks are going to be "used" by SILGen, IRGen and the runtime. Instead, previous commits already ensure that SILGen determines the set of conformances to be emitted, triggering conformance checking as needed.
This commit is contained in:
@@ -478,7 +478,6 @@ static void countStatsOfSourceFile(UnifiedStatsReporter &Stats,
|
||||
C.NumPostfixOperators += SF->PostfixOperators.size();
|
||||
C.NumPrefixOperators += SF->PrefixOperators.size();
|
||||
C.NumPrecedenceGroups += SF->PrecedenceGroups.size();
|
||||
C.NumUsedConformances += SF->getUsedConformances().size();
|
||||
|
||||
auto bufID = SF->getBufferID();
|
||||
if (bufID.hasValue()) {
|
||||
|
||||
Reference in New Issue
Block a user