Jordan Rose | ee04959 | 2012-08-21 21:44:07 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s |
Anna Zaks | 6a86082 | 2012-04-12 22:36:48 +0000 | [diff] [blame] | 2 | @interface I |
| 3 | int f() { |
| 4 | return 0; |
| 5 | } |
| 6 | @end |
| 7 | |
| 8 | @implementation I |
| 9 | + (void *)ff{ |
| 10 | return (void*)0; |
| 11 | } |
| 12 | @end |
| 13 | |
| 14 | // CHECK: ... Statistics Collected ... |
Anna Zaks | 39cf781 | 2012-12-17 20:08:54 +0000 | [diff] [blame^] | 15 | // CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on). |
| 16 | // CHECK: 100 AnalysisConsumer - The % of reachable basic blocks. |