reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
24 : m_name(definition.name), m_description(definition.description), 24 : m_name(definition.name), m_description(definition.description), 25 m_value_sp(), m_is_global(definition.global) { 26 switch (definition.type) { 35 std::make_shared<OptionValueArch>(definition.default_cstr_value); 47 (OptionValue::Type)definition.default_uint_value)); 55 if (definition.default_cstr_value) 58 llvm::StringRef(definition.default_cstr_value), false, nullptr)); 61 definition.default_uint_value != 0); 65 llvm::StringRef s(definition.default_cstr_value ? definition.default_cstr_value : ""); 65 llvm::StringRef s(definition.default_cstr_value ? definition.default_cstr_value : ""); 74 (OptionValue::Type)definition.default_uint_value)); 84 definition.enum_values, definition.default_uint_value); 84 definition.enum_values, definition.default_uint_value); 86 if (definition.default_cstr_value) { 89 llvm::StringRef(definition.default_cstr_value)) 105 const bool resolve = definition.default_uint_value != 0; 106 FileSpec file_spec = FileSpec(definition.default_cstr_value); 126 if (definition.default_cstr_value) 127 OptionArgParser::ToFormat(definition.default_cstr_value, new_format, 130 new_format = (Format)definition.default_uint_value; 142 if (definition.default_cstr_value) 144 llvm::StringRef(definition.default_cstr_value)); 146 new_lang = (LanguageType)definition.default_uint_value; 155 definition.default_cstr_value); 162 definition.default_uint_value != 0); 170 std::make_shared<OptionValueRegex>(definition.default_cstr_value); 179 definition.default_cstr_value 180 ? StringConvert::ToSInt64(definition.default_cstr_value) 181 : definition.default_uint_value); 190 definition.default_cstr_value 191 ? StringConvert::ToUInt64(definition.default_cstr_value) 192 : definition.default_uint_value); 200 if (definition.default_cstr_value) 201 uuid.SetFromStringRef(definition.default_cstr_value); 212 new OptionValueString(definition.default_cstr_value); 213 if (definition.default_uint_value != 0) 214 string_value->GetOptions().Reset(definition.default_uint_value);