Searched refs:EnumType (Results 1 - 25 of 55) sorted by relevance

123

/external/protobuf/src/google/protobuf/
H A Dgenerated_enum_reflection.h72 template<typename EnumType>
75 EnumType* value) {
78 *value = static_cast<EnumType>(tmp);
/external/clang/lib/AST/
H A DTemplateBase.cpp43 if (const EnumType *ET = T->getAs<EnumType>()) {
H A DType.cpp54 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 DASTContext.cpp1681 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 Dconvert_to_integral.pass.cpp10 struct EnumType struct
39 typedef typename EnumType<From>::type Enum;
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_pool_test.py259 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 DTargetInfo.cpp413 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 DCodeGenTBAA.cpp147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
H A DCGDebugInfo.h144 llvm::DIType CreateEnumType(const EnumType *Ty);
145 llvm::DIType CreateTypeDefinition(const EnumType *Ty);
H A DCodeGenTypes.cpp572 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
H A DCGDebugInfo.cpp1462 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 DFormatString.cpp282 if (const EnumType *ETy = argTy->getAs<EnumType>())
299 if (const EnumType *ETy = argTy->getAs<EnumType>())
H A DPrintfFormatString.cpp534 if (const EnumType *ETy = QT->getAs<EnumType>())
H A DScanfFormatString.cpp416 if (const EnumType *ETy = PT->getAs<EnumType>())
/external/clang/include/clang/AST/
H A DCanonicalType.h541 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
H A DType.h3414 /// 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 DTypeGen.py58 class EnumType(Type): class in inherits:Type
277 return EnumType(n, enumerators)
H A DABITestGen.py215 elif isinstance(t, EnumType):
291 elif isinstance(t, EnumType):
321 elif isinstance(t, EnumType):
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp222 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType);
699 } else if (isa<EnumType>(T)) {
H A DSemaLambda.cpp495 /// EnumType::getDecl() (i.e. the definition).
549 if (const EnumType *ET = E->getType()->getAs<EnumType>()) {
H A DSemaStmt.cpp707 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 DSemaTemplate.cpp1712 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 Drelocs.py22 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 DClangASTType.cpp1208 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 DASTMatchersInternal.h677 if (const EnumType *AsEnum = dyn_cast<EnumType>(Node.getTypePtr()))
916 typedef TypeList<CallExpr, CXXConstructExpr, DeclRefExpr, EnumType,

Completed in 597 milliseconds

123