Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/APINotes/
DAPINotesYAMLCompiler.cpp75 Optional<RetainCountConventionKind> RetainCountConvention;
105 template <> struct ScalarEnumerationTraits<RetainCountConventionKind> {
106 static void enumeration(IO &IO, RetainCountConventionKind &RCCK) { in enumeration()
107 IO.enumCase(RCCK, "none", RetainCountConventionKind::None); in enumeration()
109 RetainCountConventionKind::CFReturnsRetained); in enumeration()
111 RetainCountConventionKind::CFReturnsNotRetained); in enumeration()
113 RetainCountConventionKind::NSReturnsRetained); in enumeration()
115 RetainCountConventionKind::NSReturnsNotRetained); in enumeration()
155 Optional<RetainCountConventionKind> RetainCountConvention;
286 Optional<api_notes::RetainCountConventionKind> RetainCountConvention;
/external/llvm-project/clang/include/clang/APINotes/
DTypes.h20 enum class RetainCountConventionKind { enum
439 llvm::Optional<RetainCountConventionKind> getRetainCountConvention() const { in getRetainCountConvention()
442 return static_cast<RetainCountConventionKind>(RawRetainCountConvention - 1); in getRetainCountConvention()
445 setRetainCountConvention(llvm::Optional<RetainCountConventionKind> Value) { in setRetainCountConvention()
558 llvm::Optional<RetainCountConventionKind> getRetainCountConvention() const { in getRetainCountConvention()
561 return static_cast<RetainCountConventionKind>(RawRetainCountConvention - 1); in getRetainCountConvention()
564 setRetainCountConvention(llvm::Optional<RetainCountConventionKind> Value) { in setRetainCountConvention()