objc-method-coverage.m revision ee04959f88e26ed38dccf4aed2ff10cad1f703c9
1// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s 2// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-ipa=none -analyzer-stats -fblocks %s 2>&1 | FileCheck %s 3 4@interface I 5int f() { 6 return 0; 7} 8@end 9 10@implementation I 11+ (void *)ff{ 12 return (void*)0; 13} 14@end 15 16// CHECK: ... Statistics Collected ... 17// CHECK: 2 AnalysisConsumer - The # of functions analysed (as top level).