• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -analyze -analyzer-display-progress %s 2>&1 | FileCheck %s
2 
f()3 void f() {};
g()4 void g() {};
h()5 void h() {}
6 
7 struct SomeStruct {
fSomeStruct8   void f() {}
9 };
10 
11 struct SomeOtherStruct {
fSomeOtherStruct12   void f() {}
13 };
14 
15 namespace ns {
16   struct SomeStruct {
fns::SomeStruct17     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