Searched refs:getAs (Results 151 - 175 of 242) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangASTContext.cpp151 specifier->getType()->getAs<clang::RecordType>()->getDecl())) {
1568 base_class->getType()->getAs<RecordType>()->getDecl());
2658 qual_type->getAs<clang::VectorType>();
2669 qual_type->getAs<clang::ExtVectorType>();
2920 qual_type->getAs<clang::BlockPointerType>();
3500 qual_type->getAs<clang::TypedefType>();
3527 qual_type->getAs<clang::AttributedType>()
4053 qual_type->getAs<clang::ObjCObjectPointerType>();
4137 qual_type->getAs<clang::ObjCObjectPointerType>();
4345 if (const clang::RecordType *rt = qual_type->getAs<clan
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp90 .getAs<FunctionProtoType>();
261 FTP->getCanonicalTypeUnqualified().getAs<FunctionProtoType>());
268 const FunctionType *FT = FTy->getAs<FunctionType>();
283 CanQualType FT = GetFormalType(MD).getAs<Type>();
285 auto prototype = FT.getAs<FunctionProtoType>();
446 if (CanQual<FunctionNoProtoType> noProto = FTy.getAs<FunctionNoProtoType>()) {
910 if (const RecordType *RT = Ty->getAs<RecordType>()) {
954 if (const ComplexType *CT = Ty->getAs<ComplexType>()) {
1523 if (const BuiltinType *BT = ResultType->getAs<BuiltinType>()) {
1540 if (const ComplexType *CT = ResultType->getAs<ComplexTyp
[all...]
H A DCGExpr.cpp166 if (const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>()) {
320 E->getType()->getBaseElementTypeUnsafe()->getAs<RecordType>()) {
930 if (const VectorType *VT = Base->getType()->getAs<VectorType>()) {
1057 if (auto PtrTy = CE->getSubExpr()->getType()->getAs<PointerType>()) {
1089 if (auto PT = E->getType()->getAs<PointerType>())
1262 if (const AtomicType *AT = Ty->getAs<AtomicType>())
1538 if (const EnumType *ET = Ty->getAs<EnumType>())
1541 if (const AtomicType *AT = Ty->getAs<AtomicType>())
1550 const EnumType *ET = Ty->getAs<EnumType>();
1600 bool NeedsEnumCheck = HasEnumCheck && Ty->getAs<EnumTyp
[all...]
H A DCodeGenFunction.cpp171 if (auto TT = T->getAs<TypedefType>()) {
603 const ExtVectorType *HintEltQTy = HintQTy->getAs<ExtVectorType>();
682 auto *PT = MD->parameters()[1]->getType()->getAs<PointerType>();
939 if (const auto *SrcFnTy = FD->getType()->getAs<FunctionType>())
1238 if (const RecordType *RT = T.getCanonicalType()->getAs<RecordType>()) {
1726 if (const RecordType *RT = Ty->getAs<RecordType>()) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp578 PRE->getSuperReceiverType()->getAs<ObjCObjectPointerType>())
852 = propType->getAs<ObjCObjectPointerType>()) {
1061 const RecordType *RecordTy = T->getAs<RecordType>();
1154 BaseT->getAs<ObjCObjectPointerType>()) {
1257 BaseT->getAs<ObjCObjectPointerType>()) {
H A DSemaDecl.cpp189 if (auto *BaseTT = Base.getType()->getAs<TagType>())
191 else if (auto *TST = Base.getType()->getAs<TemplateSpecializationType>()) {
1778 if (const TypedefType *TT = Ty->getAs<TypedefType>()) {
1792 if (const TagType *TT = Ty->getAs<TagType>()) {
3045 const AttributedType *AT = T->getAs<AttributedType>();
3047 AT = AT->getModifiedType()->getAs<AttributedType>();
3390 const FunctionType *AdjustedType = New->getType()->getAs<FunctionType>();
3635 const FunctionType *OldFuncType = OldQType->getAs<FunctionType>();
3636 const FunctionType *NewFuncType = NewQType->getAs<FunctionType>();
3686 New->getType()->getAs<FunctionProtoTyp
[all...]
H A DSemaObjCProperty.cpp511 PIDecl->getType()->getAs<ObjCObjectPointerType>() &&
602 T->getAs<ObjCObjectPointerType>()) {
1272 PropertyIvarType->getAs<ObjCObjectPointerType>()) {
1344 const RecordType *RecordTy = PropertyIvarType->getAs<RecordType>();
1380 PropertyIvarType->getAs<ObjCObjectPointerType>(),
1381 IvarType->getAs<ObjCObjectPointerType>());
1487 Expr *ResExpr = Res.getAs<Expr>();
1555 Expr *callExpr = Res.getAs<Expr>();
1568 PIDecl->setSetterCXXAssignment(Res.getAs<Expr>());
1732 PropertyRValueType->getAs<ObjCObjectPointerTyp
[all...]
H A DAnalysisBasedWarnings.cpp192 const CallExpr *CE = dyn_cast<CallExpr>(B.getAs<CFGStmt>()->getStmt());
327 Optional<CFGStmt> S = E.getAs<CFGStmt>();
346 getAs<FunctionProtoType>())
459 if (ri->getAs<CFGStmt>())
659 BlockType->getPointeeType()->getAs<FunctionType>()) {
1111 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>()) {
1198 if (Optional<CFGStmt> CS = ElemIt->getAs<CFGStmt>())
H A DSemaTemplate.cpp980 if (auto PET = TL.getAs<PackExpansionTypeLoc>()) {
986 if (auto ET = TL.getAs<ElaboratedTypeLoc>()) {
991 if (auto DTST = TL.getAs<DeducedTemplateSpecializationTypeLoc>()) {
2195 if (auto PackTL = OldDI->getTypeLoc().getAs<PackExpansionTypeLoc>()) {
2918 = T->getAs<TemplateSpecializationType>()) {
2930 = T->getAs<DependentTemplateSpecializationType>()) {
2939 if (const DependentNameType *DependentName = T->getAs<DependentNameType>()){
2948 if (const EnumType *EnumT = T->getAs<EnumType>()) {
3057 = T->getAs<TemplateSpecializationType>()) {
3062 } else if (T->getAs<DependentTemplateSpecializationTyp
[all...]
H A DSemaDeclAttr.cpp151 const auto *PT = T->getAs<ObjCObjectPointerType>();
167 const auto *PT = T->getAs<PointerType>();
171 const auto *RT = PT->getPointeeType()->getAs<RecordType>();
508 if (const auto *RT = QT->getAs<RecordType>()) {
526 if (const auto *RT = QT->getAs<RecordType>())
530 if (const auto *PT = QT->getAs<PointerType>())
531 return PT->getPointeeType()->getAs<RecordType>();
578 const auto *TD = Ty->getAs<TypedefType>();
1386 if (!VD->getType()->getAs<ObjCObjectPointerType>()) {
1393 if (!PD->getType()->getAs<ObjCObjectPointerTyp
[all...]
H A DSemaDeclObjC.cpp346 if (const PointerType *PT = T->getAs<PointerType>()) {
348 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) {
722 if (auto attr = qual.getAs<AttributedTypeLoc>()) {
1119 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) {
1433 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) {
1588 if (type->getAs<ObjCInterfaceType>()) {
2365 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) {
2367 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) {
2449 ImplTy->getAs<ObjCObjectPointerType>()) {
2451 IfaceTy->getAs<ObjCObjectPointerTyp
[all...]
H A DSemaChecking.cpp312 const auto *PtrTy = Ty->getAs<PointerType>();
893 const PointerType *ArgTy = ArgIdx->getType()->getAs<PointerType>();
1488 FnPtrArgType->getPointeeType()->getAs<FunctionType>();
1852 const PointerType *pointerType = PointerArg->getType()->getAs<PointerType>();
4386 if (auto pointerType = type->getAs<PointerType>())
4388 else if (auto blockType = type->getAs<BlockPointerType>())
4393 Proto = type->getAs<FunctionProtoType>();
4813 const PointerType *pointerType = Ptr->getType()->getAs<PointerType>();
4995 ValArg->getType()->getAs<PointerType>()) {
5161 const PointerType *pointerType = FirstArg->getType()->getAs<PointerTyp
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp208 Context.getBaseElementType(FD->getType())->getAs<RecordType>();
443 const RecordType *RT = ElemTy->getAs<RecordType>();
547 const RecordType *RT = ElemTy->getAs<RecordType>();
1770 } else if (const ReferenceType *RT = D->getType()->getAs<ReferenceType>()) {
1797 if (const BuiltinType *BTy = T->getAs<BuiltinType>()) {
2457 FD->getType()->getBaseElementTypeUnsafe()->getAs<RecordType>()) {
3367 if (auto RT = Field.getType()->getAs<RecordType>()) {
H A DDecl.cpp2828 if (const auto *FT = getType()->getAs<FunctionProtoType>())
3114 if (auto *FnTy = getType()->getAs<FunctionType>())
3243 const auto *FPT = getType()->getAs<FunctionProtoType>();
3391 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>()
4025 if (const auto *Record = getType()->getAs<RecordType>())
4052 const auto *RT = getType()->getAs<RecordType>();
4522 if (const auto *RT = I->getType()->getAs<RecordType>())
4812 if (auto *TT = getTypeSourceInfo()->getType()->getAs<TagType>()) {
4828 if (auto *TT = getUnderlyingType()->getAs<TagType>()) {
H A DItaniumMangle.cpp1087 if (const auto *TST = type->getAs<TemplateSpecializationType>()) {
1098 type->getAs<DependentTemplateSpecializationType>()) {
1708 if (auto *PackExpansion = T->getAs<PackExpansionType>())
1780 getAs<FunctionProtoType>();
3481 while (const auto *RT = Base->getType()->getAs<RecordType>()) {
4697 if (const RecordType *RT = T->getAs<RecordType>())
4741 const RecordType *RT = T->getAs<RecordType>();
4861 if (const RecordType *RT = T->getAs<RecordType>()) {
4903 cast<FunctionProtoType>(FD->getType()->getAs<FunctionType>());
H A DQualTypeNames.cpp242 if (const TagType *TagDeclType = Type->getAs<TagType>()) {
H A DExpr.cpp65 if (const PointerType *PTy = DerivedType->getAs<PointerType>())
114 BO->getRHS()->getType()->getAs<MemberPointerType>();
738 const FunctionType *AFT = Decl->getType()->getAs<FunctionType>();
849 else if (FT && FT->getReturnType()->getAs<DecltypeType>())
851 ->getAs<DecltypeType>()
1502 if (const auto *FnTypePtr = CalleeType->getAs<PointerType>()) {
1504 } else if (const auto *BPT = CalleeType->getAs<BlockPointerType>()) {
2145 const PointerType *PTy = PExp->getType()->getAs<PointerType>();
3765 if (const PointerType *PT = CE->getType()->getAs<PointerType>()) {
4098 if (const VectorType *VT = getType()->getAs<VectorTyp
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp306 if (Optional<loc::MemRegionVal> Reg = SV.getAs<loc::MemRegionVal>()) {
1030 Optional<StmtPoint> SP = N->getLocation().getAs<StmtPoint>();
1128 if (auto CE = P.getAs<CallEnter>()) {
1191 if (Optional<CallExitEnd> CE = P.getAs<CallExitEnd>()) {
1217 if (auto PS = P.getAs<PostStmt>()) {
1230 } else if (auto BE = P.getAs<BlockEdge>()) {
2316 if (Optional<BlockEntrance> BE = ProgP.getAs<BlockEntrance>()) {
2348 if (Optional<PreImplicitCall> PIE = P.getAs<PreImplicitCall>())
2350 if (auto FE = P.getAs<FunctionExitPoint>()) {
2366 if (P.getAs<PostStmtPurgeDeadSymbol
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp141 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>();
1016 if (OrigTy->getAs<EnumType>() || isEnumConstant(OrigArg))
1142 if (const PointerType *PT = OrigTy->getAs<PointerType>()) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h248 Optional<nonloc::SymbolVal> SymVal = X.getAs<nonloc::SymbolVal>();
H A DExplodedGraph.h173 return Location.getAs<T>();
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp396 if (const ObjCInterfaceType *interT = pointee->getAs<ObjCInterfaceType>())
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp333 if (expr_qual_type->getAs<ObjCObjectType>() != nullptr)
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp85 if (!PT.isNull() && !QT->getAs<TypedefType>())
473 if (!N->getLocation().getAs<StmtPoint>())
677 if (auto CEP = N->getLocation().getAs<CallEnter>()) {
697 if (Optional<StmtPoint> SP = AllocPP.getAs<StmtPoint>())
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp232 if (!V.getAs<NonLoc>()) {

Completed in 520 milliseconds

12345678910