File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
trunk/test/SourceKit/Misc Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: d19a17603a6a89185ad59c18a61023f737a6a9ea
2
+ refs/heads/master: 0f3d25dcdcce35223e2d989cf9e53ed40595d172
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -31,8 +31,11 @@ func foo() {}
31
31
// SEMA_2: 5 {{.*}} source.statistic.num-requests
32
32
// SEMA_2: 0 {{.*}} source.statistic.num-semantic-requests
33
33
// SEMA_2: 2 {{.*}} source.statistic.num-ast-builds
34
- // SEMA_2: 1 {{.*}} source.statistic.num-asts-in-memory
35
- // FIXME_SEMA_2: 0 {{.*}} source.statistic.num-ast-cache-hits
34
+ // NOTE: we cannot match num-asts-in-memory, or num-ast-cache-hits reliably when
35
+ // doing edits. The first ASTConsumer can still be running when the edit happens
36
+ // in which case we may trigger an extra processLatestSnapshotAsync() which will
37
+ // hit the cache, and/or keep the first AST in memory long enough to be reported
38
+ // here.
36
39
// SEMA_2: 0 {{.*}} source.statistic.num-ast-snaphost-uses
37
40
38
41
// RUN: %sourcekitd-test -req=sema %s -- %s == -req=cursor -pos=1:6 %s -- %s == -req=stats | %FileCheck %s -check-prefix=SEMA_3
You can’t perform that action at this time.
0 commit comments