Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp419 std::optional<EnumExtensibilityKind> EnumExtensibility;
433 template <> struct ScalarEnumerationTraits<EnumExtensibilityKind> {
434 static void enumeration(IO &IO, EnumExtensibilityKind &EEK) { in enumeration()
435 IO.enumCase(EEK, "none", EnumExtensibilityKind::None); in enumeration()
436 IO.enumCase(EEK, "open", EnumExtensibilityKind::Open); in enumeration()
437 IO.enumCase(EEK, "closed", EnumExtensibilityKind::Closed); in enumeration()
935 TI.EnumExtensibility = EnumExtensibilityKind::None; in convertTagContext()
939 TI.EnumExtensibility = EnumExtensibilityKind::Open; in convertTagContext()
943 TI.EnumExtensibility = EnumExtensibilityKind::Open; in convertTagContext()
947 TI.EnumExtensibility = EnumExtensibilityKind::Closed; in convertTagContext()
H A DAPINotesReader.cpp545 static_cast<EnumExtensibilityKind>((Payload & 0x3) - 1); in readUnversioned()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp614 using api_notes::EnumExtensibilityKind; in ProcessAPINotes()
615 bool ShouldAddAttribute = (*Extensibility != EnumExtensibilityKind::None); in ProcessAPINotes()
620 case EnumExtensibilityKind::None: in ProcessAPINotes()
622 case EnumExtensibilityKind::Open: in ProcessAPINotes()
625 case EnumExtensibilityKind::Closed: in ProcessAPINotes()
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h36 enum class EnumExtensibilityKind { enum
688 std::optional<EnumExtensibilityKind> EnumExtensibility;