You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
551 B
27 lines
551 B
// 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
|