Home
last modified time | relevance | path

Searched refs:TestInstanceCall (Results 1 – 16 of 16) sorted by relevance

/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall {
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}}
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}}
23 TestInstanceCall *p;
28 void test_ic_null(TestInstanceCall *p) {
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}}
35 typedef void (TestInstanceCall::*IC_Ptr)();
36 IC_Ptr bar = &TestInstanceCall::foo;
40 void test_cast(const TestInstanceCall *p) {
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}…
/dports/lang/clang-mesa/clang-13.0.1.src/test/Analysis/
H A Dmethod-call-path-notes.cpp7 class TestInstanceCall { class
13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()
18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()
23 TestInstanceCall *p; in test_ic_set_to_null()
28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()
34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()
35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()
36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()
40 void test_cast(const TestInstanceCall *p) { in test_cast()
42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()