Searched refs:RetainCountConventionKind (Results 1 – 4 of 4) sorted by relevance
25 enum class RetainCountConventionKind { enum447 std::optional<RetainCountConventionKind> getRetainCountConvention() const { in getRetainCountConvention()450 return static_cast<RetainCountConventionKind>(RawRetainCountConvention - 1); in getRetainCountConvention()453 setRetainCountConvention(std::optional<RetainCountConventionKind> Value) { in setRetainCountConvention()566 std::optional<RetainCountConventionKind> getRetainCountConvention() const { in getRetainCountConvention()569 return static_cast<RetainCountConventionKind>(RawRetainCountConvention - 1); in getRetainCountConvention()572 setRetainCountConvention(std::optional<RetainCountConventionKind> Value) { in setRetainCountConvention()
74 std::optional<RetainCountConventionKind> RetainCountConvention;104 template <> struct ScalarEnumerationTraits<RetainCountConventionKind> {105 static void enumeration(IO &IO, RetainCountConventionKind &RCCK) { in enumeration()106 IO.enumCase(RCCK, "none", RetainCountConventionKind::None); in enumeration()108 RetainCountConventionKind::CFReturnsRetained); in enumeration()110 RetainCountConventionKind::CFReturnsNotRetained); in enumeration()112 RetainCountConventionKind::NSReturnsRetained); in enumeration()114 RetainCountConventionKind::NSReturnsNotRetained); in enumeration()154 std::optional<RetainCountConventionKind> RetainCountConvention;285 std::optional<api_notes::RetainCountConventionKind> RetainCountConvention;
308 auto Convention = static_cast<RetainCountConventionKind>(RawConvention - 1); in ReadParamInfo()324 auto Convention = static_cast<RetainCountConventionKind>(RawConvention - 1); in ReadFunctionInfo()
218 std::optional<api_notes::RetainCountConventionKind> Convention) { in handleAPINotedRetainCountConvention()222 case api_notes::RetainCountConventionKind::None: in handleAPINotedRetainCountConvention()231 case api_notes::RetainCountConventionKind::CFReturnsRetained: in handleAPINotedRetainCountConvention()235 case api_notes::RetainCountConventionKind::CFReturnsNotRetained: in handleAPINotedRetainCountConvention()239 case api_notes::RetainCountConventionKind::NSReturnsRetained: in handleAPINotedRetainCountConvention()243 case api_notes::RetainCountConventionKind::NSReturnsNotRetained: in handleAPINotedRetainCountConvention()