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