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

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp58 if (const EnumType *ET = T->getAs<EnumType>()) {
H A DType.cpp81 ND = ty->castAs<EnumType>()->getDecl();
615 if (const auto *ET = getAs<EnumType>())
1924 if (const auto *ET = dyn_cast<EnumType>(CanonicalType))
1942 if (const auto *ET = dyn_cast<EnumType>(CanonicalType))
2011 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
2030 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) {
2058 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) {
2077 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) {
2121 if (const auto *ET = dyn_cast<EnumType>(CanonicalTyp
[all...]
H A DFormatString.cpp346 if (const EnumType *ETy = argTy->getAs<EnumType>()) {
369 if (const EnumType *ETy = argTy->getAs<EnumType>()) {
H A DScanfFormatString.cpp426 if (const EnumType *ETy = PT->getAs<EnumType>()) {
H A DPrintfFormatString.cpp727 if (const EnumType *ETy = QT->getAs<EnumType>())
H A DASTContext.cpp2221 if (const auto *ET = dyn_cast<EnumType>(TT)) {
2413 if (const auto *ET = T->getAs<EnumType>())
4426 auto *newType = new (*this, TypeAlignment) EnumType(Decl);
6262 if (const auto *ET = Promotable->getAs<EnumType>())
6320 static const Type *getIntegerTypeForEnum(const EnumType *ET) {
6336 if (const auto *ET = dyn_cast<EnumType>(LHSC))
6338 if (const auto *ET = dyn_cast<EnumType>(RHSC))
7177 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) {
7222 if (const auto *ET = T->getAs<EnumType>())
7246 S += ObjCEncodingForEnumType(this, cast<EnumType>(C
[all...]
H A DODRHash.cpp1014 void VisitEnumType(const EnumType *T) { VisitTagType(T); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DEnumCastOutOfRangeChecker.cpp128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.cpp724 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
747 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
968 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) {
1001 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
1548 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
[all...]
H A DCodeGenTBAA.cpp198 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
H A DCGDebugInfo.h203 llvm::DIType *CreateEnumType(const EnumType *Ty);
204 llvm::DIType *CreateTypeDefinition(const EnumType *Ty);
H A DCodeGenTypes.cpp712 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h563 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
H A DType.h4639 class EnumType : public TagType {
4642 explicit EnumType(const EnumDecl *D)
6742 return isa<EnumType>(CanonicalType);
6962 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
7017 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
7036 if (const auto *ET = dyn_cast<EnumType>(CanonicalType))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp816 QualType EnumType = S.Context.getTypeDeclType(ED); local
818 S.Context.hasSameUnqualifiedType(EnumType, VarType))
840 const EnumType *CondEnumType = CondType->getAs<EnumType>();
841 const EnumType *CaseEnumType = CaseType->getAs<EnumType>();
1145 const EnumType *ET = CondTypeBeforePromotion->getAs<EnumType>();
1280 if (const EnumType *ET = DstType->getAs<EnumType>())
[all...]
H A DSemaLambda.cpp573 /// EnumType::getDecl() (i.e. the definition).
627 if (const EnumType *ET = E->getType()->getAs<EnumType>()) {
H A DSemaCXXScopeSpec.cpp736 } else if (isa<EnumType>(T)) {
H A DSemaStmtAsm.cpp724 bool IsEnum = isa<clang::EnumType>(T);
H A DSemaTemplate.cpp746 IsEnum = dyn_cast_or_null<EnumType>(NNS->getAsType());
2993 if (const EnumType *EnumT = T->getAs<EnumType>()) {
5983 bool UnnamedLocalNoLinkageFinder::VisitEnumType(const EnumType* T) {
6946 if (const EnumType *Enum = IntegerType->getAs<EnumType>())
7029 if (const EnumType *Enum = IntegerType->getAs<EnumType>())
7447 if (const EnumType *ET = OrigT->getAs<EnumType>())
[all...]
H A DSemaCast.cpp1218 if (const EnumType *Enum = SrcType->getAs<EnumType>()) {
H A DSemaChecking.cpp5635 const EnumDecl *ED = Type->castAs<EnumType>()->getDecl();
8359 if (auto EnumTy = ExprTy->getAs<EnumType>()) {
10084 if (const EnumType *ET = dyn_cast<EnumType>(T))
10086 } else if (const EnumType *ET = dyn_cast<EnumType>(T)) {
10129 if (const EnumType *ET = dyn_cast<EnumType>(T))
10909 EnumDecl *BitfieldEnumDecl = BitfieldType->castAs<EnumType>()->getDecl();
10941 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) {
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2531 return llvm::cast<clang::EnumType>(qual_type)->getDecl();
3113 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>(
3785 this, llvm::cast<clang::EnumType>(qual_type)
4512 if (const clang::EnumType *et = qual_type->getAs<clang::EnumType>())
5355 const clang::EnumType *enum_type =
5356 llvm::dyn_cast<clang::EnumType>(GetCanonicalQualType(type));
7025 const clang::EnumType *enutype =
7026 llvm::dyn_cast<clang::EnumType>(ClangUti
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp372 llvm::cast<clang::EnumType>(qual_type)->getDecl();
448 llvm::cast<clang::EnumType>(qual_type)->getDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp933 if (const EnumType *EnumTy = qt->getAs<EnumType>()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1016 if (OrigTy->getAs<EnumType>() || isEnumConstant(OrigArg))

Completed in 579 milliseconds

123