Searched refs:getAs (Results 126 - 150 of 251) sorted by relevance

1234567891011

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp680 while ((ER = R->getAs<ElementRegion>())) {
682 if (auto CI = ER->getIndex().getAs<nonloc::ConcreteInt>()) {
1015 if (!T->getAs<FunctionType>())
1215 const auto *PT = thisPointerTy->getAs<PointerType>();
1224 PT != D->getThisType()->getAs<PointerType>())) {
1356 if (auto CI = index.getAs<nonloc::ConcreteInt>()) {
1525 Index.getAs<nonloc::ConcreteInt>()) {
H A DLoopUnrolling.cpp248 if (Optional<BlockEntrance> BE = P.getAs<BlockEntrance>())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp623 ILE->setInit(Init, BaseInit.getAs<Expr>());
648 if (const RecordType *RType = ILE->getType()->getAs<RecordType>())
710 ILE->setInit(Init, MemberInit.getAs<Expr>());
716 ILE->updateInit(SemaRef.Context, Init, MemberInit.getAs<Expr>());
770 if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) {
845 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) {
886 Filler = ElementInit.getAs<Expr>();
1381 Result.getAs<Expr>());
1438 ExprRes.getAs<Expr>());
1578 ResultExpr = Result.getAs<Exp
[all...]
H A DSemaStmt.cpp58 return StmtResult(FE.getAs<Stmt>());
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>())
1815 Expr *Third = third.release().getAs<Expr>();
1863 collection->getType()->getAs<ObjCObjectPointerType>();
2087 && Collection->getType()->getAs<ObjCObjectPointerType>() != nullptr;
3108 FD->getParamDecl(0)->getType()->getAs<RValueReferenceType>();
3529 if (!OrigResultType.getType()->getAs<AutoTyp
[all...]
H A DSemaTemplateInstantiateDecl.cpp92 S.AddAlignedAttr(New, *Aligned, Result.getAs<Expr>(), IsPackExpansion);
151 E = Result.getAs<Expr>();
157 OE = Result.getAs<Expr>();
171 S.AddAlignValueAttr(New, *Aligned, Result.getAs<Expr>());
195 Cond = Result.getAs<Expr>();
250 Expr *MaxThreads = Result.getAs<Expr>();
257 MinBlocks = Result.getAs<Expr>();
444 Expr *MinExpr = Result.getAs<Expr>();
449 Expr *MaxExpr = Result.getAs<Expr>();
487 Expr *MinExpr = Result.getAs<Exp
[all...]
H A DCodeCompleteConsumer.cpp500 return Function->getType()->getAs<FunctionType>();
505 ->getAs<FunctionType>();
H A DSemaCUDA.cpp321 const RecordType *BaseType = B->getType()->getAs<RecordType>();
364 Context.getBaseElementType(F->getType())->getAs<RecordType>();
H A DSemaCodeComplete.cpp846 return getSimplifiedTypeClass(T->getAs<ReferenceType>()->getPointeeType());
908 if (const auto *Ref = T->getAs<ReferenceType>()) {
913 if (const auto *Pointer = T->getAs<PointerType>()) {
922 if (const auto *Block = T->getAs<BlockPointerType>()) {
927 if (const auto *Function = T->getAs<FunctionType>()) {
2725 if (TypedefTypeLoc TypedefTL = TL.getAs<TypedefTypeLoc>()) {
2734 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) {
2739 if (AttributedTypeLoc AttrTL = TL.getAs<AttributedTypeLoc>()) {
2747 if (BlockPointerTypeLoc BlockPtr = TL.getAs<BlockPointerTypeLoc>()) {
2749 Block = TL.getAs<FunctionTypeLo
[all...]
H A DSemaExprObjC.cpp516 if (const PointerType *PT = ValueType->getAs<PointerType>()) {
636 } else if (const EnumType *ET = ValueType->getAs<EnumType>()) {
844 const PointerType *PtrT = T->getAs<PointerType>();
1015 const PointerType *PtrValue = ValueT->getAs<PointerType>();
1029 const PointerType *PtrKey = KeyT->getAs<PointerType>();
1759 if (auto *ObjPT = ReceiverType->getAs<ObjCObjectPointerType>()) {
1859 Args[i] = ArgE.getAs<Expr>();
2495 const auto *OPT = ReceiverType->getAs<ObjCObjectPointerType>();
2504 const auto *IT = ReceiverType->getAs<ObjCInterfaceType>();
2632 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectTyp
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp287 Optional<Loc> IVarLoc = C.getSVal(IRE).getAs<Loc>();
400 if (const ObjCObjectPointerType *PT = RetTy->getAs<ObjCObjectPointerType>())
545 if (auto DL = L.getAs<DefinedOrUnknownSVal>()) {
953 if (auto L = RetVal.getAs<DefinedOrUnknownSVal>())
1194 if (const SymbolicRegion *SR = I->StripCasts()->getAs<SymbolicRegion>())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp459 if (const PointerType *PT = OCT->getAs<PointerType>()) {
558 const PointerType *PT = funcType->getAs<PointerType>();
1049 if (const PointerType* PT = retType->getAs<PointerType>())
1051 else if (const BlockPointerType *BPT = retType->getAs<BlockPointerType>())
1053 if ((FPRetType = PointeeTy->getAs<FunctionType>())) {
1863 t->getAs<ObjCObjectPointerType>()) {
2067 if (const PointerType *PT = T->getAs<PointerType>()) {
2124 const FunctionType *funcType = FD->getType()->getAs<FunctionType>();
2192 const Type* TypePtr = QT->getAs<Type>();
2198 TypePtr = QT->getAs<Typ
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp91 .getAs<FunctionProtoType>();
262 FTP->getCanonicalTypeUnqualified().getAs<FunctionProtoType>());
269 const FunctionType *FT = FTy->getAs<FunctionType>();
284 CanQualType FT = GetFormalType(MD).getAs<Type>();
286 auto prototype = FT.getAs<FunctionProtoType>();
447 if (CanQual<FunctionNoProtoType> noProto = FTy.getAs<FunctionNoProtoType>()) {
912 if (const RecordType *RT = Ty->getAs<RecordType>()) {
956 if (const ComplexType *CT = Ty->getAs<ComplexType>()) {
1520 if (const BuiltinType *BT = ResultType->getAs<BuiltinType>()) {
1537 if (const ComplexType *CT = ResultType->getAs<ComplexTyp
[all...]
H A DCGExprAgg.cpp240 const RecordType *RecordTy = T->getAs<RecordType>();
952 if (const ComplexType *CT = ArgTy->getAs<ComplexType>())
955 if (const auto *MPT = ArgTy->getAs<MemberPointerType>()) {
1776 if (const RecordType *RT = E->getType()->getAs<RecordType>()) {
1829 .getBaseElementType(E->getType())->getAs<RecordType>()) {
1936 if (const RecordType *RT = Ty->getAs<RecordType>()) {
2020 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) {
2029 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) {
H A DSwiftCallingConv.cpp67 if (auto recType = type->getAs<RecordType>()) {
84 } else if (auto complexType = type->getAs<ComplexType>()) {
92 } else if (type->getAs<MemberPointerType>()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp500 return PT->getPointeeType()->getAs<RecordType>();
502 return Ty->getAs<RecordType>();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp426 if (const EnumType *ETy = PT->getAs<EnumType>()) {
433 const BuiltinType *BT = PT->getAs<BuiltinType>();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp185 T->getAs<TemplateSpecializationType>();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp214 if (!location.getAs<Loc>())
H A DMallocOverflowSecurityChecker.cpp310 if (Optional<CFGStmt> CS = bi->getAs<CFGStmt>()) {
H A DObjCSelfInitChecker.cpp414 if (!location.getAs<loc::MemRegionVal>())
H A DPaddingChecker.cpp123 const RecordType *RT = ArrTy->getElementType()->getAs<RecordType>();
H A DTestAfterDivZeroChecker.cpp135 Optional<DefinedSVal> DSV = S.getAs<DefinedSVal>();
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.h114 NodeClass getAs() const { function in class:clang::tblgen::WrappedRecord
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h177 IsZeroCheck(!Assumption && Constraint.getAs<Loc>()) {}
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h171 template<typename RegionTy> const RegionTy* getAs() const;
537 if (T->getAs<ObjCObjectType>())
1150 assert((!Idx.getAs<nonloc::ConcreteInt>() ||
1286 const RegionTy* MemRegion::getAs() const { function in class:clang::ento::MemRegion

Completed in 226 milliseconds

1234567891011