Debian Codegraph @

clang/test/Analysis/objc-method-coverage.m

raw
1 // REQUIRES: asserts
2 // RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
3 @interface I
4 int f(void) {
5 return 0;
6 }
7 @end
8
9 @implementation I
10 + (void *)ff{
11 return (void*)0;
12 }
13 @end
14
15 // CHECK: ... Statistics Collected ...
16 // CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).
17 // CHECK: 100 AnalysisConsumer - The % of reachable basic blocks.