2013-03-12 01:48:03 +08:00
|
|
|
// REQUIRES: asserts
|
2017-03-04 02:02:02 +08:00
|
|
|
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
|
2012-04-13 06:36:48 +08:00
|
|
|
@interface I
|
|
|
|
int f() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation I
|
|
|
|
+ (void *)ff{
|
|
|
|
return (void*)0;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
// CHECK: ... Statistics Collected ...
|
2012-12-18 04:08:54 +08:00
|
|
|
// CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).
|
2013-03-12 01:48:03 +08:00
|
|
|
// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks.
|