Home
last modified time | relevance | path

Searched refs:SmartPointer (Results 1 – 6 of 6) sorted by relevance

/llvm-project/clang/test/Analysis/
H A Ddtor.cpp23 class SmartPointer { class
26 SmartPointer(void *x) : X(x) {} in SmartPointer() function in SmartPointer
27 ~SmartPointer() { in ~SmartPointer()
35 SmartPointer Deleter(mem); in testSmartPointer()
46 SmartPointer Deleter(mem); in testSmartPointer2()
55 class Subclass : public SmartPointer {
57 Subclass(void *x) : SmartPointer(x) {} in Subclass()
72 class MultipleInheritance : public Subclass, public SmartPointer {
74 MultipleInheritance(void *a, void *b) : Subclass(a), SmartPointer(b) {} in MultipleInheritance()
112 SmartPointer P;
H A Dretain-release.mm277 class SmartPointer {
280 SmartPointer(id x) : x(x) {}
281 ~SmartPointer() { [x release]; }
293 SmartPointer foo(x);
298 SmartPointer foo(0);
306 SmartPointer foo(0);
312 SmartPointer *foo = new SmartPointer(x);
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-value-param-allowed-types.cpp3 struct SmartPointer { struct
4 ~SmartPointer();
45 void negativeSmartPointer(SmartPointer P) { in negativeSmartPointer()
H A Dunnecessary-copy-initialization-allowed-types.cpp3 struct SmartPointer { struct
4 ~SmartPointer();
46 const SmartPointer &getSmartPointer();
H A Dfor-range-copy-allowed-types.cpp24 struct SmartPointer { struct
25 ~SmartPointer();
79 for (auto P : View<Iterator<SmartPointer>>()) { in negativeSmartPointer()
/llvm-project/llvm/unittests/ADT/
H A DIteratorTest.cpp199 TEST(PointeeIteratorTest, SmartPointer) { in TEST() argument