Searched refs:WARN_UNUSED_RETURN (Results 1 – 11 of 11) sorted by relevance
81 T* leakRef() const WARN_UNUSED_RETURN;103 T* releaseRef() const WARN_UNUSED_RETURN { return leakRef(); } in releaseRef()159 T* leakRef() const WARN_UNUSED_RETURN { T* tmp = m_ptr; m_ptr = 0; return tmp; } in leakRef()165 T* releaseRef() const WARN_UNUSED_RETURN { return leakRef(); } in releaseRef()
44 bool getValue(T& out) WARN_UNUSED_RETURN;
56 PtrType leakPtr() WARN_UNUSED_RETURN;
63 PtrType leakPtr() WARN_UNUSED_RETURN;
50 template <typename T> bool getValue(T& data) WARN_UNUSED_RETURN;
63 PtrType leakPtr() const WARN_UNUSED_RETURN;
61 PtrType leakPtr() const WARN_UNUSED_RETURN;
1259 #define WARN_UNUSED_RETURN __attribute__ ((warn_unused_result)) macro1261 #define WARN_UNUSED_RETURN macro
79 PtrType leakRef() WARN_UNUSED_RETURN;
83 T* leakRef() WARN_UNUSED_RETURN in leakRef()
20117 Add WARN_UNUSED_RETURN to the smart pointer "leak" member functions