Home | History | Annotate | Download | only in Analysis
      1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-ipa=inlining -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
      5 int 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).