xref: /aosp_15_r20/external/clang/test/Analysis/objc-method-coverage.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// REQUIRES: asserts
2*67e74705SXin Li// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
3*67e74705SXin Li@interface I
4*67e74705SXin Liint f() {
5*67e74705SXin Li  return 0;
6*67e74705SXin Li}
7*67e74705SXin Li@end
8*67e74705SXin Li
9*67e74705SXin Li@implementation I
10*67e74705SXin Li+ (void *)ff{
11*67e74705SXin Li  return (void*)0;
12*67e74705SXin Li}
13*67e74705SXin Li@end
14*67e74705SXin Li
15*67e74705SXin Li// CHECK: ... Statistics Collected ...
16*67e74705SXin Li// CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).
17*67e74705SXin Li// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks.
18