Searched refs:DiagnosticArgumentKind (Results 1 – 2 of 2) sorted by relevance
55 enum class DiagnosticArgumentKind { enum68 DiagnosticArgumentKind getKind() const { return kind; } in getKind()75 assert(getKind() == DiagnosticArgumentKind::Double); in getAsDouble()81 assert(getKind() == DiagnosticArgumentKind::Integer); in getAsInteger()87 assert(getKind() == DiagnosticArgumentKind::String); in getAsString()96 assert(getKind() == DiagnosticArgumentKind::Unsigned); in getAsUnsigned()108 : kind(DiagnosticArgumentKind::Double), doubleVal(val) {} in DiagnosticArgument()117 : kind(DiagnosticArgumentKind::Integer), opaqueVal(int64_t(val)) {} in kind()125 : kind(DiagnosticArgumentKind::Unsigned), opaqueVal(uint64_t(val)) {} in kind()129 : kind(DiagnosticArgumentKind::String), stringVal(val) {} in DiagnosticArgument()[all …]
35 : kind(DiagnosticArgumentKind::Attribute), in DiagnosticArgument()40 : kind(DiagnosticArgumentKind::Type), in DiagnosticArgument()45 assert(getKind() == DiagnosticArgumentKind::Attribute); in getAsAttribute()52 assert(getKind() == DiagnosticArgumentKind::Type); in getAsType()59 case DiagnosticArgumentKind::Attribute: in print()62 case DiagnosticArgumentKind::Double: in print()65 case DiagnosticArgumentKind::Integer: in print()68 case DiagnosticArgumentKind::String: in print()71 case DiagnosticArgumentKind::Type: in print()74 case DiagnosticArgumentKind::Unsigned: in print()