Lines Matching defs:ref_countable
81 RefCountable* ref_countable = make_obj();
82 auto foo1 = [ref_countable](){
83 // expected-warning@-1{{Captured raw-pointer 'ref_countable' to ref-counted type or CheckedPtr-capable type is unsafe [webkit.UncountedLambdaCapturesChecker]}}
84 ref_countable->method();
86 auto foo2 = [&ref_countable](){
87 // expected-warning@-1{{Captured raw-pointer 'ref_countable' to ref-counted type or CheckedPtr-capable type is unsafe [webkit.UncountedLambdaCapturesChecker]}}
88 ref_countable->method();
91 ref_countable->method();
92 // expected-warning@-1{{Implicitly captured raw-pointer 'ref_countable' to ref-counted type or CheckedPtr-capable type is unsafe [webkit.UncountedLambdaCapturesChecker]}}
93 ref_countable = nullptr;
97 ref_countable->method();
98 // expected-warning@-1{{Implicitly captured raw-pointer 'ref_countable' to ref-counted type or CheckedPtr-capable type is unsafe [webkit.UncountedLambdaCapturesChecker]}}
144 RefCountable *ref_countable = nullptr;
283 RefCountable* ref_countable = make_obj();
285 return ref_countable->trivial();