/external/protobuf/src/google/protobuf/ |
H A D | generated_enum_reflection.h | 72 template<typename EnumType> 75 EnumType* value) { 78 *value = static_cast<EnumType>(tmp);
|
/external/clang/lib/AST/ |
H A D | TemplateBase.cpp | 43 if (const EnumType *ET = T->getAs<EnumType>()) {
|
H A D | Type.cpp | 54 ND = ty->getAs<EnumType>()->getDecl(); 639 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) 655 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) 719 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { 735 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { 759 if (const EnumType *E [all...] |
H A D | ASTContext.cpp | 1681 if (const EnumType *ET = dyn_cast<EnumType>(TT)) { 1807 if (const EnumType *ET = T->getAs<EnumType>()) 3087 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl); 4558 if (const EnumType *ET = Promotable->getAs<EnumType>()) 4615 static const Type *getIntegerTypeForEnum(const EnumType *ET) { 4631 if (const EnumType *E [all...] |
/external/libcxx/test/libcxx/type_traits/ |
H A D | convert_to_integral.pass.cpp | 10 struct EnumType struct 39 typedef typename EnumType<From>::type Enum;
|
/external/protobuf/python/google/protobuf/internal/ |
H A D | descriptor_pool_test.py | 259 class EnumType(object): class in inherits:object 492 'NestedEnum': EnumType([('ALPHA', 1), ('BETA', 2)]), 494 'NestedEnum': EnumType([('EPSILON', 5), ('ZETA', 6)]), 496 'NestedEnum': EnumType([('ETA', 7), ('THETA', 8)]), 512 'NestedEnum': EnumType([('GAMMA', 3), ('DELTA', 4)]), 514 'NestedEnum': EnumType([('IOTA', 9), ('KAPPA', 10)]), 516 'NestedEnum': EnumType([('LAMBDA', 11), ('MU', 12)]), 538 'NestedEnum': EnumType([('NU', 13), ('XI', 14)]), 540 'NestedEnum': EnumType([('OMICRON', 15), ('PI', 16)]), 542 'NestedEnum': EnumType([('RH [all...] |
/external/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 413 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) 428 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) 479 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { 500 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) 889 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) [all...] |
H A D | CodeGenTBAA.cpp | 147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
|
H A D | CGDebugInfo.h | 144 llvm::DIType CreateEnumType(const EnumType *Ty); 145 llvm::DIType CreateTypeDefinition(const EnumType *Ty);
|
H A D | CodeGenTypes.cpp | 572 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
|
H A D | CGDebugInfo.cpp | 1462 llvm::DIType Res = CreateTypeDefinition(Ty->castAs<EnumType>()); 1926 llvm::DIType CGDebugInfo::CreateEnumType(const EnumType *Ty) { 1957 llvm::DIType CGDebugInfo::CreateTypeDefinition(const EnumType *Ty) { 2165 return CreateEnumType(cast<EnumType>(Ty)); 3257 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?");
|
/external/clang/lib/Analysis/ |
H A D | FormatString.cpp | 282 if (const EnumType *ETy = argTy->getAs<EnumType>()) 299 if (const EnumType *ETy = argTy->getAs<EnumType>())
|
H A D | PrintfFormatString.cpp | 534 if (const EnumType *ETy = QT->getAs<EnumType>())
|
H A D | ScanfFormatString.cpp | 416 if (const EnumType *ETy = PT->getAs<EnumType>())
|
/external/clang/include/clang/AST/ |
H A D | CanonicalType.h | 541 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|
H A D | Type.h | 3414 /// EnumType - This is a helper class that allows the use of isa/cast/dyncast 3416 class EnumType : public TagType { class in class:clang::FunctionType::ExtInfo::FunctionProtoType 3417 explicit EnumType(const EnumDecl *D) function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType 4993 return isa<EnumType>(CanonicalType); 5152 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { 5165 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) 5183 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalTyp [all...] |
/external/clang/utils/ABITest/ |
H A D | TypeGen.py | 58 class EnumType(Type): class in inherits:Type 277 return EnumType(n, enumerators)
|
H A D | ABITestGen.py | 215 elif isinstance(t, EnumType): 291 elif isinstance(t, EnumType): 321 elif isinstance(t, EnumType):
|
/external/clang/lib/Sema/ |
H A D | SemaCXXScopeSpec.cpp | 222 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType); 699 } else if (isa<EnumType>(T)) {
|
H A D | SemaLambda.cpp | 495 /// EnumType::getDecl() (i.e. the definition). 549 if (const EnumType *ET = E->getType()->getAs<EnumType>()) {
|
H A D | SemaStmt.cpp | 707 QualType EnumType = S.Context.getTypeDeclType(ED); local 709 S.Context.hasSameUnqualifiedType(EnumType, VarType)) 1058 const EnumType *ET = CondTypeBeforePromotion->getAs<EnumType>(); 1175 if (const EnumType *ET = DstType->getAs<EnumType>())
|
H A D | SemaTemplate.cpp | 1712 if (const EnumType *EnumT = T->getAs<EnumType>()) { 4051 bool UnnamedLocalNoLinkageFinder::VisitEnumType(const EnumType* T) { 4957 if (const EnumType *Enum = IntegerType->getAs<EnumType>()) 5041 if (const EnumType *Enum = IntegerType->getAs<EnumType>()) 5420 if (const EnumType *ET = OrigT->getAs<EnumType>())
|
/external/llvm/test/tools/llvm-readobj/Inputs/ |
H A D | relocs.py | 22 class EnumType(type): class in inherits:type 24 super(EnumType, self).__init__(name, bases, attributes) 85 Enum = EnumType('Enum', (), {})
|
/external/lldb/source/Symbol/ |
H A D | ClangASTType.cpp | 1208 pointee_or_element_clang_type->SetClangType(m_ast, cast<EnumType>(qual_type)->getDecl()->getIntegerType()); 5144 case clang::Type::Enum: return cast<EnumType>(qual_type)->getDecl(); 5221 EnumDecl *enum_decl = cast<EnumType>(qual_type)->getDecl(); 5343 const EnumType *enum_type = dyn_cast<EnumType>(qual_type.getTypePtr()); 5399 const EnumType *enum_type = dyn_cast<EnumType>(clang_type); 5438 const EnumType *enum_type = dyn_cast<EnumType>(clang_type); 5656 const EnumType *enum_typ [all...] |
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 677 if (const EnumType *AsEnum = dyn_cast<EnumType>(Node.getTypePtr())) 916 typedef TypeList<CallExpr, CXXConstructExpr, DeclRefExpr, EnumType,
|