[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / analyzer-display-progress.cpp
blobdc8e27a8c3b45c70e095fa66a102bf348229ca68
1 // RUN: %clang_analyze_cc1 -analyzer-display-progress %s 2>&1 | FileCheck %s
3 void f() {};
4 void g() {};
5 void h() {}
7 struct SomeStruct {
8 void f() {}
9 };
11 struct SomeOtherStruct {
12 void f() {}
15 namespace ns {
16 struct SomeStruct {
17 void f(int) {}
18 void f(float, ::SomeStruct) {}
19 void f(float, SomeStruct) {}
23 // CHECK: analyzer-display-progress.cpp f() : {{[0-9]+}}
24 // CHECK: analyzer-display-progress.cpp g() : {{[0-9]+}}
25 // CHECK: analyzer-display-progress.cpp h() : {{[0-9]+}}
26 // CHECK: analyzer-display-progress.cpp SomeStruct::f() : {{[0-9]+}}
27 // CHECK: analyzer-display-progress.cpp SomeOtherStruct::f() : {{[0-9]+}}
28 // CHECK: analyzer-display-progress.cpp ns::SomeStruct::f(int) : {{[0-9]+}}
29 // CHECK: analyzer-display-progress.cpp ns::SomeStruct::f(float, ::SomeStruct) : {{[0-9]+}}
30 // CHECK: analyzer-display-progress.cpp ns::SomeStruct::f(float, SomeStruct) : {{[0-9]+}}