| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | TargetInfo.cpp | 425 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 440 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 491 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 512 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 902 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1128 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 1885 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify() 2174 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult() 2207 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult() 2576 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() [all …]
|
| HD | CodeGenTBAA.cpp | 147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTBAAInfo()
|
| HD | CGDebugInfo.h | 156 llvm::DIType *CreateEnumType(const EnumType *Ty); 157 llvm::DIType *CreateTypeDefinition(const EnumType *Ty);
|
| HD | CodeGenTypes.cpp | 574 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl(); in ConvertType()
|
| HD | CGDebugInfo.cpp | 1406 llvm::DIType *Res = CreateTypeDefinition(Ty->castAs<EnumType>()); in completeType() 1909 llvm::DIType *CGDebugInfo::CreateEnumType(const EnumType *Ty) { in CreateEnumType() 1940 llvm::DIType *CGDebugInfo::CreateTypeDefinition(const EnumType *Ty) { in CreateTypeDefinition() 2139 return CreateEnumType(cast<EnumType>(Ty)); in CreateTypeNode() 3195 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
|
| HD | CGExpr.cpp | 1067 if (const EnumType *ET = Ty->getAs<EnumType>()) in hasBooleanRepresentation() 1079 const EnumType *ET = Ty->getAs<EnumType>(); in getRangeForType() 1187 SanOpts.has(SanitizerKind::Enum) && Ty->getAs<EnumType>(); in EmitLoadOfScalar()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | Type.cpp | 54 ND = ty->getAs<EnumType>()->getDecl(); in getBaseTypeIdentifier() 1609 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType() 1625 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralOrUnscopedEnumerationType() 1689 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 1705 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerOrEnumerationType() 1729 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerType() 1745 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerOrEnumerationType() 1786 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 1795 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() 1824 } else if (isa<EnumType>(T)) { in getScalarTypeKind() [all …]
|
| HD | ASTContext.cpp | 1706 if (const EnumType *ET = dyn_cast<EnumType>(TT)) { in getTypeInfoImpl() 1848 if (const EnumType *ET = T->getAs<EnumType>()) in getPreferredTypeAlign() 3141 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl); in getEnumType() 4656 if (const EnumType *ET = Promotable->getAs<EnumType>()) in getPromotedIntegerType() 4713 static const Type *getIntegerTypeForEnum(const EnumType *ET) { in getIntegerTypeForEnum() 4729 if (const EnumType *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder() 4731 if (const EnumType *ET = dyn_cast<EnumType>(RHSC)) in getIntegerTypeOrder() 5380 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) { in ObjCEncodingForEnumType() 5415 if (const EnumType *ET = T->getAs<EnumType>()) in EncodeBitField() 5446 S += ObjCEncodingForEnumType(this, cast<EnumType>(CT)); in getObjCEncodingForTypeImpl() [all …]
|
| HD | TemplateBase.cpp | 43 if (const EnumType *ET = T->getAs<EnumType>()) { in printIntegral()
|
| HD | TypePrinter.cpp | 981 void TypePrinter::printEnumBefore(const EnumType *T, raw_ostream &OS) { in printEnumBefore() 984 void TypePrinter::printEnumAfter(const EnumType *T, raw_ostream &OS) { } in printEnumAfter()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Analysis/ |
| HD | FormatString.cpp | 282 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType() 299 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType()
|
| HD | ScanfFormatString.cpp | 416 if (const EnumType *ETy = PT->getAs<EnumType>()) in fixType()
|
| HD | PrintfFormatString.cpp | 596 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | CanonicalType.h | 541 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|
| HD | Type.h | 3544 class EnumType : public TagType { 3545 explicit EnumType(const EnumDecl *D) 5293 return isa<EnumType>(CanonicalType); 5452 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { 5465 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) 5483 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
|
| HD | DataRecursiveASTVisitor.h | 902 DEF_TRAVERSE_TYPE(EnumType, {}) 1121 DEF_TRAVERSE_TYPELOC(EnumType, {})
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaCXXScopeSpec.cpp | 222 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType); in RequireCompleteDeclContext() 699 } else if (isa<EnumType>(T)) { in BuildCXXNestedNameSpecifier()
|
| HD | SemaStmt.cpp | 707 QualType EnumType = S.Context.getTypeDeclType(ED); in ShouldDiagnoseSwitchCaseNotInEnum() local 709 S.Context.hasSameUnqualifiedType(EnumType, VarType)) in ShouldDiagnoseSwitchCaseNotInEnum() 1058 const EnumType *ET = CondTypeBeforePromotion->getAs<EnumType>(); in ActOnFinishSwitchStmt() 1175 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
|
| HD | SemaTemplate.cpp | 1722 if (const EnumType *EnumT = T->getAs<EnumType>()) { in MatchTemplateParametersToScopeSpecifier() 4093 bool UnnamedLocalNoLinkageFinder::VisitEnumType(const EnumType* T) { in VisitEnumType() 4999 if (const EnumType *Enum = IntegerType->getAs<EnumType>()) in CheckTemplateArgument() 5083 if (const EnumType *Enum = IntegerType->getAs<EnumType>()) in CheckTemplateArgument() 5462 if (const EnumType *ET = OrigT->getAs<EnumType>()) in BuildExpressionFromIntegralTemplateArgument()
|
| HD | SemaLambda.cpp | 549 if (const EnumType *ET = E->getType()->getAs<EnumType>()) { in findEnumForBlockReturn()
|
| HD | SemaChecking.cpp | 4114 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() 5927 if (const EnumType *ET = dyn_cast<EnumType>(T)) { in forValueOfCanonicalType() 5962 if (const EnumType *ET = dyn_cast<EnumType>(T)) in forTargetOfCanonicalType() 7208 if (const EnumType *SourceEnum = Source->getAs<EnumType>()) in CheckImplicitConversion() 7209 if (const EnumType *TargetEnum = Target->getAs<EnumType>()) in CheckImplicitConversion() 9418 cast<EnumType>(T1)->getDecl(), in isLayoutCompatible() 9419 cast<EnumType>(T2)->getDecl()); in isLayoutCompatible()
|
| HD | SemaCast.cpp | 1008 if (const EnumType *Enum = SrcType->getAs<EnumType>()) { in TryStaticCast()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Symbol/ |
| HD | ClangASTType.cpp | 1407 …pointee_or_element_clang_type->SetClangType(m_ast, llvm::cast<clang::EnumType>(qual_type)->getDecl… in GetTypeInfo() 4825 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>(GetCanonicalQualType()); in GetAsEnumDecl() 5714 …case clang::Type::Enum: return llvm::cast<clang::EnumType>(qual_type)->getDecl… in GetDeclContextForType() 5795 clang::EnumDecl *enum_decl = llvm::cast<clang::EnumType>(qual_type)->getDecl(); in SetHasExternalStorage() 5917 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>(qual_type.getTypePtr()); in CompleteTagDeclarationDefinition() 5973 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>(clang_type); in AddEnumerationValueToEnumerationType() 6012 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>(clang_type); in GetEnumerationIntegerType() 6230 const clang::EnumType *enum_type = llvm::cast<clang::EnumType>(qual_type.getTypePtr()); in DumpValue() 6459 … const clang::EnumType *enum_type = llvm::cast<clang::EnumType>(qual_type.getTypePtr()); in DumpTypeValue()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchersInternal.h | 677 if (const EnumType *AsEnum = dyn_cast<EnumType>(Node.getTypePtr())) in matchesSpecialized() 916 typedef TypeList<CallExpr, CXXConstructExpr, DeclRefExpr, EnumType,
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | ObjCMT.cpp | 951 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl()
|