Home
last modified time | relevance | path

Searched refs:RetainCountConventionKind (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h25 enum class RetainCountConventionKind { enum
447 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()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp74 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;
H A DAPINotesReader.cpp308 auto Convention = static_cast<RetainCountConventionKind>(RawConvention - 1); in ReadParamInfo()
324 auto Convention = static_cast<RetainCountConventionKind>(RawConvention - 1); in ReadFunctionInfo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp218 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()