| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueEnumeration.h | 25 typedef int64_t enum_type; typedef 27 enum_type value; 33 OptionValueEnumeration(const OptionEnumValues &enumerators, enum_type value); 58 enum_type operator=(enum_type value) { 63 enum_type GetCurrentValue() const { return m_current_value; } in GetCurrentValue() 65 enum_type GetDefaultValue() const { return m_default_value; } in GetDefaultValue() 67 void SetCurrentValue(enum_type value) { m_current_value = value; } in SetCurrentValue() 69 void SetDefaultValue(enum_type value) { m_default_value = value; } in SetDefaultValue() 74 enum_type m_current_value; 75 enum_type m_default_value;
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/enum_types/ |
| H A D | main.cpp | 1 #define DEFINE_UNSIGNED_ENUM(suffix, enum_type) \ argument 2 enum class enum_##suffix : enum_type{Case1 = 200, Case2, Case3}; \ 9 #define DEFINE_SIGNED_ENUM(suffix, enum_type) \ argument 10 enum class enum_##suffix : enum_type{Case1 = -2, Case2, Case3}; \
|
| /llvm-project-15.0.7/lldb/test/API/python_api/type/ |
| H A D | TestTypeList.py | 153 enum_type = target.FindFirstType('EnumType') 154 self.assertTrue(enum_type) 155 self.DebugSBType(enum_type) 156 self.assertFalse(enum_type.IsScopedEnumerationType()) 157 self.assertFalse(enum_type.IsAggregateType())
|
| H A D | main.cpp | 65 EnumType enum_type; in main() local
|
| /llvm-project-15.0.7/polly/lib/External/isl/interface/ |
| H A D | generator.cc | 228 const EnumType *enum_type = return_type->getAs<EnumType>(); in add_type_subclasses() local 229 EnumDecl *decl = enum_type->getDecl(); in add_type_subclasses() 283 const EnumType *enum_type; in handled_sets_enum() local 296 enum_type = param->getType()->getAs<EnumType>(); in handled_sets_enum() 297 if (!enum_type) in handled_sets_enum() 299 decl = enum_type->getDecl(); in handled_sets_enum()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | value-init.cpp | 28 enum enum_type { negative_number = -1, magic_number = 42 }; enum 32 enum_type m_enum;
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 467 auto enum_type = llvm::dyn_cast<PDBSymbolTypeEnum>(&type); in CreateLLDBTypeFromPDBType() local 468 assert(enum_type); in CreateLLDBTypeFromPDBType() 473 uint64_t bytes = enum_type->getLength(); in CreateLLDBTypeFromPDBType() 479 auto underlying_type_up = enum_type->getUnderlyingType(); in CreateLLDBTypeFromPDBType() 487 auto first_child = enum_type->findOneChild<PDBSymbolData>(); in CreateLLDBTypeFromPDBType() 510 auto enum_values = enum_type->findAllChildren<PDBSymbolData>(); in CreateLLDBTypeFromPDBType() 523 if (enum_type->isConstType()) in CreateLLDBTypeFromPDBType() 526 if (enum_type->isVolatileType()) in CreateLLDBTypeFromPDBType() 1150 bool PDBASTParser::AddEnumValue(CompilerType enum_type, in AddEnumValue() argument 1185 CompilerType underlying_type = m_ast.GetEnumerationIntegerType(enum_type); in AddEnumValue() [all …]
|
| H A D | PDBASTParser.h | 83 bool AddEnumValue(lldb_private::CompilerType enum_type,
|
| H A D | SymbolFilePDB.cpp | 1494 if (auto enum_type = llvm::dyn_cast<PDBSymbolTypeEnum>(result.get())) in FindTypesByRegex() local 1495 type_name = enum_type->getName(); in FindTypesByRegex()
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | TypeFormat.h | 200 void SetTypeName(ConstString enum_type) { m_enum_type = enum_type; } in SetTypeName() argument
|
| /llvm-project-15.0.7/lldb/unittests/SymbolFile/PDB/ |
| H A D | SymbolFilePDBTests.cpp | 491 lldb::TypeSP enum_type = results.GetTypeAtIndex(0); in TEST_F() local 492 EXPECT_EQ(ConstString(Enum), enum_type->GetName()); in TEST_F() 493 CompilerType compiler_type = enum_type->GetFullCompilerType(); in TEST_F() 503 enum_type->GetByteSize(nullptr)); in TEST_F()
|
| /llvm-project-15.0.7/clang/bindings/python/tests/cindex/ |
| H A D | test_cursor.py | 342 enum_type = enum.enum_type 343 self.assertIn(enum_type.kind, (TypeKind.UINT, TypeKind.INT)) 351 self.assertEqual(enum.enum_type.kind, TypeKind.LONGLONG)
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionValueEnumeration.cpp | 17 const OptionEnumValues &enumerators, enum_type value) in OptionValueEnumeration()
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestTypeSystemClang.cpp | 264 CompilerType enum_type = ast.CreateEnumerationType( in TEST_F() local 268 CompilerType t = ast.GetEnumerationIntegerType(enum_type); in TEST_F() 278 CompilerType enum_type = ast.CreateEnumerationType( in TEST_F() local 281 auto *ed = TypeSystemClang::GetAsEnumDecl(enum_type); in TEST_F()
|
| /llvm-project-15.0.7/llvm/utils/gdb-scripts/ |
| H A D | prettyprinters.py | 368 enum_type = gdb.lookup_type(info_name + '::MaskAndShiftConstants') 369 enum_dict = gdb.types.make_enum_dict(enum_type)
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | rapid-cxx-test.h | 473 enum enum_type { enum 484 typedef failure_type::enum_type failure_type_t;
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 3233 if (enum_type) { in IsEnumerationType() 3249 if (enum_type) { in IsScopedEnumerationType() 3250 return enum_type->isScopedEnumeralType(); in IsScopedEnumerationType() 5556 const clang::EnumType *enum_type = in ForEachEnumerator() local 5558 if (enum_type) { in ForEachEnumerator() 7584 if (const EnumType *enum_type = qt->getAs<EnumType>()) { in SetIntegerInitializerForVariable() local 7585 const EnumDecl *enum_decl = enum_type->getDecl(); in SetIntegerInitializerForVariable() 8377 if (!enum_type || ConstString(name).IsEmpty()) in AddEnumerationValueToEnumerationType() 8383 enum_type.GetOpaqueQualType(); in AddEnumerationValueToEnumerationType() 8436 if (!enum_type) in GetEnumerationIntegerType() [all …]
|
| H A D | TypeSystemClang.h | 917 const CompilerType &enum_type, const Declaration &decl, const char *name, 920 const CompilerType &enum_type, const Declaration &decl, const char *name,
|
| /llvm-project-15.0.7/clang/bindings/python/clang/ |
| H A D | cindex.py | 1702 def enum_type(self): member in Cursor 1723 underlying_type = underlying_type.get_declaration().enum_type
|