Home
last modified time | relevance | path

Searched refs:OptionValue (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValue.cpp18 OptionValue::OptionValue(const OptionValue &other) { in OptionValue() function in OptionValue
27 OptionValue& OptionValue::operator=(const OptionValue &other) { in operator =()
37 Status OptionValue::SetSubValue(const ExecutionContext *exe_ctx, in SetSubValue()
43 OptionValueBoolean *OptionValue::GetAsBoolean() { in GetAsBoolean()
44 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
49 const OptionValueBoolean *OptionValue::GetAsBoolean() const { in GetAsBoolean()
50 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
55 const OptionValueChar *OptionValue::GetAsChar() const { in GetAsChar()
56 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
61 OptionValueChar *OptionValue::GetAsChar() { in GetAsChar()
[all …]
H A DProperty.cpp26 case OptionValue::eTypeInvalid: in Property()
27 case OptionValue::eTypeProperties: in Property()
29 case OptionValue::eTypeArch: in Property()
37 case OptionValue::eTypeArgs: in Property()
42 case OptionValue::eTypeArray: in Property()
45 std::make_shared<OptionValueArray>(OptionValue::ConvertTypeToMask( in Property()
46 (OptionValue::Type)definition.default_uint_value)); in Property()
49 case OptionValue::eTypeBoolean: in Property()
63 case OptionValue::eTypeChar: { in Property()
69 case OptionValue::eTypeDictionary: in Property()
[all …]
H A DOptionValueProperties.cpp189 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
220 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
253 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueFileSpec()
264 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueSInt64()
275 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueUInt64()
314 error = OptionValue::SetValueFromString(value, op); in SetValueFromString()
327 OptionValue *option_value = property->GetValue().get(); in DumpValue()
344 OptionValue *option_value = property->GetValue().get(); in ToJSON()
388 auto copy_sp = OptionValue::DeepCopy(new_parent); in DeepCopy()
H A DOptionValueDictionary.cpp41 std::map<llvm::StringRef, OptionValue *> sorted_values; in DumpValue()
46 OptionValue *option_value = value.second; in DumpValue()
222 error = OptionValue::SetValueFromString(llvm::StringRef(), op); in SetArgs()
343 auto copy_sp = OptionValue::DeepCopy(new_parent); in DeepCopy()
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValue.h31 class OptionValue {
70 OptionValue() = default;
72 virtual ~OptionValue() = default;
74 OptionValue(const OptionValue &other);
76 OptionValue& operator=(const OptionValue &other);
133 static uint32_t ConvertTypeToMask(OptionValue::Type type) { in ConvertTypeToMask()
137 static OptionValue::Type ConvertTypeMaskToType(uint32_t type_mask) { in ConvertTypeMaskToType()
335 using TopmostBase = OptionValue;
H A DOptionValueArgs.h19 : Cloneable(OptionValue::ConvertTypeToMask(OptionValue::eTypeString)) {} in OptionValueArgs()
H A DOptionValuePathMappings.h18 : public Cloneable<OptionValuePathMappings, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypePathMap; } in GetType()
H A DOptionValueUUID.h17 class OptionValueUUID : public Cloneable<OptionValueUUID, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeUUID; } in GetType()
H A DOptionValueFormatEntity.h18 : public Cloneable<OptionValueFormatEntity, OptionValue> {
24 OptionValue::Type GetType() const override { return eTypeFormatEntity; } in GetType()
H A DOptionValueChar.h16 class OptionValueChar : public Cloneable<OptionValueChar, OptionValue> {
28 OptionValue::Type GetType() const override { return eTypeChar; } in GetType()
H A DOptionValueRegex.h17 class OptionValueRegex : public Cloneable<OptionValueRegex, OptionValue> {
26 OptionValue::Type GetType() const override { return eTypeRegex; } in GetType()
H A DOptionValueFormat.h17 : public Cloneable<OptionValueFormat, OptionValue> {
29 OptionValue::Type GetType() const override { return eTypeFormat; } in GetType()
H A DOptionValueLanguage.h18 class OptionValueLanguage : public Cloneable<OptionValueLanguage, OptionValue> {
31 OptionValue::Type GetType() const override { return eTypeLanguage; } in GetType()
H A DOptionValueFileColonLine.h20 public Cloneable<OptionValueFileColonLine, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeFileLineColumn; } in GetType()
H A DOptionValueBoolean.h16 class OptionValueBoolean : public Cloneable<OptionValueBoolean, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeBoolean; } in GetType()
H A DOptionValueEnumeration.h23 : public Cloneable<OptionValueEnumeration, OptionValue> {
39 OptionValue::Type GetType() const override { return eTypeEnum; } in GetType()
H A DOptionValueArch.h18 class OptionValueArch : public Cloneable<OptionValueArch, OptionValue> {
36 OptionValue::Type GetType() const override { return eTypeArch; } in GetType()
H A DOptionValueFileSpecList.h20 : public Cloneable<OptionValueFileSpecList, OptionValue> {
31 OptionValue::Type GetType() const override { return eTypeFileSpecList; } in GetType()
H A DOptionValueFileSpec.h20 class OptionValueFileSpec : public Cloneable<OptionValueFileSpec, OptionValue> {
33 OptionValue::Type GetType() const override { return eTypeFileSpec; } in GetType()
H A DOptionValueSInt64.h17 class OptionValueSInt64 : public Cloneable<OptionValueSInt64, OptionValue> {
33 OptionValue::Type GetType() const override { return eTypeSInt64; } in GetType()
H A DOptionValueDictionary.h20 : public Cloneable<OptionValueDictionary, OptionValue> {
32 OptionValue::Type GetType() const override { return eTypeDictionary; } in GetType()
H A DOptionValueUInt64.h17 class OptionValueUInt64 : public Cloneable<OptionValueUInt64, OptionValue> {
36 OptionValue::Type GetType() const override { return eTypeUInt64; } in GetType()
H A DOptionValueProperties.h23 : public Cloneable<OptionValueProperties, OptionValue>,
145 if (OptionValue *value = property->GetValue().get())
158 if (OptionValue *value = property->GetValue().get()) {
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h546 template <class DataType> struct OptionValue;
553 using WrapperType = OptionValue<DataType>;
624 struct OptionValue final
626 OptionValue() = default;
628 OptionValue(const DataType &V) { this->setValue(V); }
631 template <class DT> OptionValue<DataType> &operator=(const DT &V) {
640 struct LLVM_ABI OptionValue<cl::boolOrDefault> final
644 OptionValue() = default;
646 OptionValue(const cl::boolOrDefault &V) { this->setValue(V); }
648 OptionValue<cl::boolOrDefault> &operator=(const cl::boolOrDefault &V) {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp34 template <> struct cl::OptionValue<FnT> final : cl::OptionValueCopy<FnT> { struct in cl
35 OptionValue() = default;
37 OptionValue(const FnT &V) { this->setValue(V); } in OptionValue() argument
39 OptionValue<FnT> &operator=(const FnT &V) { in operator =() argument

123