mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Parse: Test that we only parse function bodies in primary files
I added this optimization a while ago but didn't add a test for it.
This commit is contained in:
@@ -132,6 +132,9 @@ FRONTEND_STATISTIC(AST, NumPrecedenceGroups)
|
||||
/// Number of conformances used by code processed by this frontend job.
|
||||
FRONTEND_STATISTIC(AST, NumUsedConformances)
|
||||
|
||||
/// Number of full function bodies parsed.
|
||||
FRONTEND_STATISTIC(Parse, NumFunctionsParsed)
|
||||
|
||||
/// Number of conformances that were deserialized by this frontend job.
|
||||
FRONTEND_STATISTIC(Sema, NumConformancesDeserialized)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user