Home | History | Annotate | Download | only in Analysis
      1 // RUN: %clang_cc1 -analyze -analyzer-display-progress %s 2>&1 | FileCheck %s
      2 
      3 void f() {};
      4 void g() {};
      5 void h() {}
      6 
      7 struct SomeStruct {
      8   void f() {}
      9 };
     10 
     11 struct SomeOtherStruct {
     12   void f() {}
     13 };
     14 
     15 namespace ns {
     16   struct SomeStruct {
     17     void f() {}
     18   };
     19 }
     20 
     21 // CHECK: analyze_display_progress.cpp f
     22 // CHECK: analyze_display_progress.cpp g
     23 // CHECK: analyze_display_progress.cpp h
     24 // CHECK: analyze_display_progress.cpp SomeStruct::f
     25 // CHECK: analyze_display_progress.cpp SomeOtherStruct::f
     26 // CHECK: analyze_display_progress.cpp ns::SomeStruct::f
     27