Lines Matching full:release
1 // RUN: %check_clang_tidy %s readability-uniqueptr-delete-release %t -check-suffix=NULLPTR
2 // RUN: %check_clang_tidy %s readability-uniqueptr-delete-release %t -check-suffix=RESET -config='{…
3 // RUN: CheckOptions: {readability-uniqueptr-delete-release.PreferResetCall: true}}'
16 T* release();
27 delete P.release(); in Positives()
34 delete P2.release(); in Positives()
40 delete (P2.release()); in Positives()
47 delete Array[4].release(); in Positives()
53 delete ReturnsAUnique().release(); in Positives()
60 delete P3->release(); in Positives()
67 delete (*P4).release(); in Positives()
73 delete P4->release(); in Positives()
79 delete (P4)->release(); in Positives()
89 int* release();
94 delete P.release(); in Negatives()
97 delete P2.release(); in Negatives()
100 delete (P2.release)(); in Negatives()
108 delete P.release(); in NegativeDeleterT()
113 delete P2.release(); in NegativeDeleterT()
119 #define DELETE_RELEASE(x) delete (x).release()