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

12

/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DTargetInfo.cpp407 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
422 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
473 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) {
494 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
749 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
[all...]
H A DCodeGenTBAA.cpp147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
H A DCGDebugInfo.h129 llvm::DIType CreateEnumType(const EnumType *Ty);
H A DCodeGenTypes.cpp567 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
H A DCGExpr.cpp1002 if (const EnumType *ET = Ty->getAs<EnumType>())
1014 const EnumType *ET = Ty->getAs<EnumType>();
1120 (SanOpts->Enum && Ty->getAs<EnumType>())) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp54 ND = ty->getAs<EnumType>()->getDecl();
635 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
651 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
715 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
731 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
755 if (const EnumType *E
[all...]
H A DASTContext.cpp1654 if (const EnumType *ET = dyn_cast<EnumType>(TT))
2986 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl);
4369 if (const EnumType *ET = Promotable->getAs<EnumType>())
4426 static const Type *getIntegerTypeForEnum(const EnumType *ET) {
4442 if (const EnumType *ET = dyn_cast<EnumType>(LHSC))
4444 if (const EnumType *E
[all...]
H A DTypePrinter.cpp951 void TypePrinter::printEnumBefore(const EnumType *T, raw_ostream &OS) {
954 void TypePrinter::printEnumAfter(const EnumType *T, raw_ostream &OS) { }
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DFormatString.cpp279 if (const EnumType *ETy = argTy->getAs<EnumType>())
296 if (const EnumType *ETy = argTy->getAs<EnumType>())
H A DScanfFormatString.cpp394 if (const EnumType *ETy = QT->getAs<EnumType>())
H A DPrintfFormatString.cpp474 if (const EnumType *ETy = QT->getAs<EnumType>())
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCanonicalType.h615 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
H A DType.h3333 /// EnumType - This is a helper class that allows the use of isa/cast/dyncast
3335 class EnumType : public TagType { class in class:clang::FunctionType::ExtInfo::FunctionProtoType
3336 explicit EnumType(const EnumDecl *D) function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType
4908 return isa<EnumType>(CanonicalType);
5067 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
5080 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
5098 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalTyp
[all...]
H A DRecursiveASTVisitor.h959 DEF_TRAVERSE_TYPE(EnumType, { })
1187 DEF_TRAVERSE_TYPELOC(EnumType, { })
H A DTypeLoc.h649 EnumType> {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp218 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType);
588 } else if (isa<EnumType>(T)) {
H A DSemaLambda.cpp411 /// EnumType::getDecl() (i.e. the definition).
465 if (const EnumType *ET = E->getType()->getAs<EnumType>()) {
H A DSemaTemplate.cpp1678 if (const EnumType *EnumT = T->getAs<EnumType>()) {
3937 bool UnnamedLocalNoLinkageFinder::VisitEnumType(const EnumType* T) {
4722 if (const EnumType *Enum = IntegerType->getAs<EnumType>())
4807 if (const EnumType *Enum = IntegerType->getAs<EnumType>())
5185 if (const EnumType *ET = OrigT->getAs<EnumType>())
H A DSemaStmt.cpp985 const EnumType *ET = CondTypeBeforePromotion->getAs<EnumType>();
1122 if (const EnumType *ET = DstType->getAs<EnumType>())
H A DSemaCast.cpp973 if (const EnumType *Enum = SrcType->getAs<EnumType>()) {
H A DSemaChecking.cpp4428 if (const EnumType *ET = dyn_cast<EnumType>(T)) {
4461 if (const EnumType *ET = dyn_cast<EnumType>(T))
5496 if (const EnumType *SourceEnum = Source->getAs<EnumType>())
5497 if (const EnumType *TargetEnum = Target->getAs<EnumType>())
7156 cast<EnumType>(T1)->getDecl(),
7157 cast<EnumType>(T
[all...]
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTType.cpp1257 pointee_or_element_clang_type->SetClangType(m_ast, cast<EnumType>(qual_type)->getDecl()->getIntegerType());
5222 case clang::Type::Enum: return cast<EnumType>(qual_type)->getDecl();
5302 EnumDecl *enum_decl = cast<EnumType>(qual_type)->getDecl();
5424 const EnumType *enum_type = dyn_cast<EnumType>(qual_type.getTypePtr());
5480 const EnumType *enum_type = dyn_cast<EnumType>(clang_type);
5519 const EnumType *enum_type = dyn_cast<EnumType>(clang_type);
5737 const EnumType *enum_typ
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h617 if (const EnumType *AsEnum = dyn_cast<EnumType>(Node.getTypePtr()))
886 typedef TypeList<TypeList<CallExpr, CXXConstructExpr, DeclRefExpr, EnumType>,
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp801 if (const EnumType *EnumTy = qt->getAs<EnumType>()) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1014 if (OrigTy->getAs<EnumType>() || isEnumConstant(OrigArg))

Completed in 516 milliseconds

12