HomeSort by relevance Sort by last modified time
    Searched refs:getAs (Results 26 - 50 of 182) sorted by null

12 3 4 5 6 7 8

  /external/clang/lib/StaticAnalyzer/Core/
Store.cpp 53 if (const RecordType *RT = Ty->getAs<RecordType>()) {
276 Derived.getAs<loc::MemRegionVal>();
296 Optional<loc::MemRegionVal> BaseRegVal = Base.getAs<loc::MemRegionVal>();
366 if (const ReferenceType *RT = T->getAs<ReferenceType>())
422 if (Base.isUnknownOrUndef() || Base.getAs<loc::ConcreteInt>())
449 if (!BaseIdx.getAs<nonloc::ConcreteInt>())
458 if (!Offset.getAs<nonloc::ConcreteInt>()) {
CoreEngine.cpp 117 if (U.getNode()->getLocation().getAs<BlockEntrance>())
262 assert(Loc.getAs<PostStmt>() ||
263 Loc.getAs<PostInitializer>() ||
264 Loc.getAs<PostImplicitCall>() ||
265 Loc.getAs<CallExitEnd>());
498 if (N->getLocation().getAs<CallEnter>()) {
506 if (N->getLocation().getAs<PostInitializer>() ||
507 N->getLocation().getAs<PostImplicitCall>()) {
512 if (N->getLocation().getAs<EpsilonPoint>()) {
ExplodedGraph.cpp 112 if (progPoint.getAs<PreStmtPurgeDeadSymbols>())
116 if (!progPoint.getAs<PostStmt>() || progPoint.getAs<PostStore>())
152 if (Optional<StmtPoint> SP = SuccLoc.getAs<StmtPoint>())
ExprEngine.cpp 122 Constraint_untested.getAs<DefinedOrUnknownSVal>();
141 if (Optional<Loc> LV = V.getAs<Loc>()) {
157 if (Optional<Loc> LV = V.getAs<Loc>()) {
174 if (!Result && !V.getAs<NonLoc>())
185 if (V.getAs<NonLoc>()) {
279 if (Pred->getLocation().getAs<BlockEntrance>())
496 if (const ReferenceType *refType = varType->getAs<ReferenceType>())
    [all...]
ExprEngineC.cpp 70 if (LeftV.getAs<Loc>() &&
75 if (RightV.getAs<Loc>() &&
484 InitVal.getAs<loc::MemRegionVal>()) {
486 assert(InitVal.getAs<nonloc::LazyCompoundVal>());
524 while (!N->getLocation().getAs<BlockEntrance>()) {
526 assert(P.getAs<PreStmt>()|| P.getAs<PreStmtPurgeDeadSymbols>());
644 if (PP.getAs<PreStmtPurgeDeadSymbols>() || PP.getAs<BlockEntrance>()) {
662 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>())
    [all...]
RegionStore.cpp 764 Extent.getAs<nonloc::ConcreteInt>()) {
    [all...]
  /external/clang/lib/AST/
Type.cpp 52 ND = ty->getAs<RecordType>()->getDecl();
54 ND = ty->getAs<EnumType>()->getDecl();
56 ND = ty->getAs<TypedefType>()->getDecl();
306 while (const ParenType *PT = T->getAs<ParenType>())
332 template <> const TypedefType *Type::getAs() const {
336 template <> const TemplateSpecializationType *Type::getAs() const {
378 if (const RecordType *RT = getAs<RecordType>())
383 if (const RecordType *RT = getAs<RecordType>())
388 if (const RecordType *RT = getAs<RecordType>())
393 if (const RecordType *RT = getAs<RecordType>()
    [all...]
ASTContext.cpp 442 if (const TagType *TT = QT->getAs<TagType>())
    [all...]
InheritViz.cpp 93 = static_cast<const CXXRecordDecl *>(Type->getAs<RecordType>()->getDecl());
  /external/clang/lib/Sema/
SemaCast.cpp 405 const PointerType *T1PtrType = T1->getAs<PointerType>(),
406 *T2PtrType = T2->getAs<PointerType>();
413 T1->getAs<ObjCObjectPointerType>(),
415 T2->getAs<ObjCObjectPointerType>();
436 const MemberPointerType *T1MPType = T1->getAs<MemberPointerType>(),
437 *T2MPType = T2->getAs<MemberPointerType>();
444 const BlockPointerType *T1BPType = T1->getAs<BlockPointerType>(),
445 *T2BPType = T2->getAs<BlockPointerType>();
551 const PointerType *DestPointer = DestType->getAs<PointerType>();
555 } else if ((DestReference = DestType->getAs<ReferenceType>()))
    [all...]
SemaOverload.cpp 261 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
    [all...]
SemaExprMember.cpp 278 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>();
446 const PointerType *PT = BaseType->getAs<PointerType>();
647 if (IsArrow) RecordTy = RecordTy->getAs<PointerType>()->getPointeeType();
649 RecordTy->getAs<RecordType>(),
729 if (const PointerType *ptr = objectType->getAs<PointerType>()) {
    [all...]
  /external/clang/lib/ARCMigrate/
TransGCAttrs.cpp 66 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>()) {
68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) {
72 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) {
74 } else if (PointerTypeLoc PT = TL.getAs<PointerTypeLoc>()) {
76 } else if (ReferenceTypeLoc RT = TL.getAs<ReferenceTypeLoc>())
252 TL.getAs<AttributedTypeLoc>()) {
  /external/clang/lib/StaticAnalyzer/Checkers/
BasicObjCFoundationChecks.cpp 87 return X.getAs<loc::ConcreteInt>().hasValue();
300 Optional<nonloc::ConcreteInt> V = TheTypeVal.getAs<nonloc::ConcreteInt>();
320 Optional<loc::MemRegionVal> LV = TheValueExpr.getAs<loc::MemRegionVal>();
421 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>();
632 if (msg.getArgSVal(I).getAs<loc::ConcreteInt>())
684 const ObjCObjectPointerType *PT = T->getAs<ObjCObjectPointerType>();
729 if (!ElementVar.getAs<Loc>())
758 if (Optional<DefinedOrUnknownSVal> DV = Val.getAs<DefinedOrUnknownSVal>())
DivZeroChecker.cpp 61 Optional<DefinedSVal> DV = Denom.getAs<DefinedSVal>();
UndefBranchChecker.cpp 93 if (Optional<PostStmt> PS = P.getAs<PostStmt>())
UndefCapturedBlockVarChecker.cpp 79 state->getSVal(I.getOriginalRegion()).getAs<UndefinedVal>()) {
MallocSizeofChecker.cpp 148 if (const PointerType *ptrA = A->getAs<PointerType>())
149 if (const PointerType *ptrB = B->getAs<PointerType>()) {
185 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType();
UnreachableCodeChecker.cpp 79 if (Optional<BlockEntrance> BE = P.getAs<BlockEntrance>()) {
134 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>())
192 if (Optional<CFGStmt> S = I->getAs<CFGStmt>())
IdempotentOperationChecker.cpp 176 if (!LHSVal.getAs<Loc>()) {
585 if (Optional<StmtPoint> SP = P.getAs<StmtPoint>()) {
587 } else if (Optional<BlockEdge> BE = P.getAs<BlockEdge>()) {
589 } else if (Optional<BlockEntrance> BEnt = P.getAs<BlockEntrance>()) {
591 } else if (Optional<BlockExit> BExit = P.getAs<BlockExit>()) {
675 if (B->getLHS()->getType()->getAs<PointerType>())
  /external/clang/tools/libclang/
CXType.cpp 387 if (const RecordType *Record = TP->getAs<RecordType>())
476 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>())
479 if (T->getAs<FunctionNoProtoType>())
490 if (const FunctionType *FD = T->getAs<FunctionType>()) {
515 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
519 if (T->getAs<FunctionNoProtoType>()) {
531 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
547 if (const FunctionType *FD = T->getAs<FunctionType>())
CIndexUSRs.cpp 533 if (const PackExpansionType *Expansion = T->getAs<PackExpansionType>()) {
538 if (const BuiltinType *BT = T->getAs<BuiltinType>()) {
626 if (const PointerType *PT = T->getAs<PointerType>()) {
631 if (const ReferenceType *RT = T->getAs<ReferenceType>()) {
636 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) {
647 if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) {
652 if (const ComplexType *CT = T->getAs<ComplexType>()) {
657 if (const TagType *TT = T->getAs<TagType>()) {
662 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) {
667 = T->getAs<TemplateSpecializationType>())
    [all...]
  /external/clang/lib/CodeGen/
TargetInfo.cpp 131 const RecordType *RT = FT->getAs<RecordType>();
149 const RecordType *RT = T->getAs<RecordType>();
184 const RecordType *RT = T->getAs<RecordType>();
271 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
277 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() &&
296 const RecordType *RT = Ty->getAs<RecordType>();
377 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
392 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
449 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
476 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()
    [all...]
CodeGenTypes.cpp 139 if (!isSafeToConvert(I->getType()->getAs<RecordType>()->getDecl(),
197 const TagType *TT = Ty->getAs<TagType>();
475 if (const RecordType *RT = FT->getResultType()->getAs<RecordType>())
479 if (const RecordType *RT = FPT->getArgType(i)->getAs<RecordType>())
655 ConvertRecordDeclType(i->getType()->getAs<RecordType>()->getDecl());
709 if (const RecordType *RT = T->getAs<RecordType>()) {
715 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>())
  /external/clang/lib/Analysis/
BodyFarm.cpp 30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>();
37 BPT->getPointeeType()->getAs<FunctionProtoType>();
169 const PointerType *PredicatePtrTy = PredicateQPtrTy->getAs<PointerType>();
297 const PointerType *PT = TheValueTy->getAs<PointerType>();

Completed in 763 milliseconds

12 3 4 5 6 7 8