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

12 3 4 5 6 7 8

  /external/clang/lib/StaticAnalyzer/Core/
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>());
516 if (N->getLocation().getAs<CallEnter>()) {
524 if (N->getLocation().getAs<PostInitializer>() ||
525 N->getLocation().getAs<PostImplicitCall>()) {
530 if (N->getLocation().getAs<EpsilonPoint>()) {
Store.cpp 53 if (const RecordType *RT = Ty->getAs<RecordType>()) {
276 Derived.getAs<loc::MemRegionVal>();
389 if (const ReferenceType *RT = T->getAs<ReferenceType>())
445 if (Base.isUnknownOrUndef() || Base.getAs<loc::ConcreteInt>())
472 if (!BaseIdx.getAs<nonloc::ConcreteInt>())
481 if (!Offset.getAs<nonloc::ConcreteInt>()) {
ExprEngineC.cpp 71 if (LeftV.getAs<Loc>() &&
77 if (RightV.getAs<Loc>() &&
483 InitVal.getAs<loc::MemRegionVal>()) {
485 assert(InitVal.getAs<nonloc::LazyCompoundVal>());
525 while (!N->getLocation().getAs<BlockEntrance>()) {
527 assert(P.getAs<PreStmt>()|| P.getAs<PreStmtPurgeDeadSymbols>());
650 if (PP.getAs<PreStmtPurgeDeadSymbols>() || PP.getAs<BlockEntrance>()) {
669 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>())
    [all...]
SValBuilder.cpp 81 if (Optional<nonloc::ConcreteInt> CI = val.getAs<nonloc::ConcreteInt>()) {
322 if (Optional<nonloc::ConcreteInt> rInt = RHS.getAs<nonloc::ConcreteInt>())
326 if (Optional<nonloc::ConcreteInt> lInt = LHS.getAs<nonloc::ConcreteInt>())
342 if (Optional<Loc> LV = lhs.getAs<Loc>()) {
343 if (Optional<Loc> RV = rhs.getAs<Loc>())
349 if (Optional<Loc> RV = rhs.getAs<Loc>()) {
421 if (Optional<Loc> L = val.getAs<Loc>())
440 if (Optional<nonloc::LocAsInteger> LV = val.getAs<nonloc::LocAsInteger>()) {
ExprEngine.cpp 126 Constraint_untested.getAs<DefinedOrUnknownSVal>();
145 if (Optional<Loc> LV = V.getAs<Loc>()) {
161 if (Optional<Loc> LV = V.getAs<Loc>()) {
181 if (!V.getAs<NonLoc>())
187 assert(!V.getAs<Loc>() || Loc::isLocType(Result->getType()) ||
315 if (Pred->getLocation().getAs<BlockEntrance>())
489 if (Optional<Loc> LValueLoc = LValue.getAs<Loc>())
585 if (const ReferenceType *refType = varType->getAs<ReferenceType>()) {
    [all...]
RegionStore.cpp 828 Extent.getAs<nonloc::ConcreteInt>()) {
    [all...]
PathDiagnostic.cpp 666 if (Optional<BlockEdge> BE = P.getAs<BlockEdge>()) {
669 } else if (Optional<StmtPoint> SP = P.getAs<StmtPoint>()) {
671 if (P.getAs<PostStmtPurgeDeadSymbols>())
673 } else if (Optional<PostInitializer> PIP = P.getAs<PostInitializer>()) {
676 } else if (Optional<PostImplicitCall> PIE = P.getAs<PostImplicitCall>()) {
678 } else if (Optional<CallEnter> CE = P.getAs<CallEnter>()) {
682 } else if (Optional<CallExitEnd> CEE = P.getAs<CallExitEnd>()) {
695 if (Optional<StmtPoint> SP = P.getAs<StmtPoint>())
697 if (Optional<BlockEdge> BE = P.getAs<BlockEdge>())
699 if (Optional<CallEnter> CE = P.getAs<CallEnter>()
    [all...]
ExprEngineCXX.cpp 65 if (Optional<Loc> L = V.getAs<Loc>())
122 while (Next.getAs<CFGImplicitDtor>() && NextStmtIdx + 1 < B->size()) {
128 if (Optional<CFGStmt> StmtElem = Next.getAs<CFGStmt>()) {
142 if (Optional<CFGInitializer> InitElem = Next.getAs<CFGInitializer>()) {
425 if (const FunctionProtoType *ProtoType = Ty->getAs<FunctionProtoType>())
436 QualType ObjTy = CNE->getType()->getAs<PointerType>()->getPointeeType();
  /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>())
250 TL.getAs<AttributedTypeLoc>()) {
  /external/clang/lib/Sema/
SemaOverload.cpp 273 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
    [all...]
SemaExprCXX.cpp 238 if (const RecordType *Record = MemberOfType->getAs<RecordType>()) {
257 = MemberOfType->getAs<TemplateSpecializationType>()) {
379 if (T->getAs<RecordType>() &&
400 if (const RecordType *RecordT = T->getAs<RecordType>()) {
658 if (const PointerType* Ptr = Ty->getAs<PointerType>()) {
703 const RecordType *RecordTy = Ty->getAs<RecordType>();
    [all...]
SemaExprMember.cpp 297 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>();
459 const PointerType *PT = BaseType->getAs<PointerType>();
699 if (IsArrow) RecordTy = RecordTy->getAs<PointerType>()->getPointeeType();
701 RecordTy->getAs<RecordType>(),
782 if (const PointerType *ptr = objectType->getAs<PointerType>()) {
    [all...]
SemaTemplateDeduction.cpp     [all...]
  /external/clang/lib/Analysis/
CFGStmtMap.cpp 53 Optional<CFGStmt> CS = CE.getAs<CFGStmt>();
  /external/clang/lib/CodeGen/
CGCXX.cpp 76 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl());
100 if (BaseD->getType()->getAs<FunctionType>()->getCallConv() !=
101 D->getType()->getAs<FunctionType>()->getCallConv())
340 const RecordType *RT = T->getAs<RecordType>();
TargetInfo.cpp 61 const RecordType *RT = T->getAs<RecordType>();
172 const RecordType *RT = FT->getAs<RecordType>();
190 const RecordType *RT = T->getAs<RecordType>();
286 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
292 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() &&
311 const RecordType *RT = Ty->getAs<RecordType>();
383 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
398 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
449 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) {
470 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()
    [all...]
CodeGenTypes.cpp 135 if (!isSafeToConvert(I.getType()->getAs<RecordType>()->getDecl(),
191 const TagType *TT = Ty->getAs<TagType>();
480 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>())
484 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>())
659 ConvertRecordDeclType(I.getType()->getAs<RecordType>()->getDecl());
713 if (const RecordType *RT = T->getAs<RecordType>()) {
719 if (const MemberPointerType *MPT = T->getAs<MemberPointerType>())
  /external/clang/lib/StaticAnalyzer/Checkers/
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>()) {
CStringChecker.cpp 209 Optional<DefinedSVal> val = V.getAs<DefinedSVal>();
369 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>();
380 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) {
400 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) {
436 Optional<Loc> firstLoc = firstVal.getAs<Loc>();
440 Optional<Loc> secondLoc = secondVal.getAs<Loc>();
464 reverse.getAs<DefinedOrUnknownSVal>();
484 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>();
494 Optional<Loc> FirstStartLoc = FirstStart.getAs<Loc>();
501 Optional<Loc> FirstEndLoc = FirstEnd.getAs<Loc>()
    [all...]
MallocSizeofChecker.cpp 147 if (const PointerType *ptrA = A->getAs<PointerType>())
148 if (const PointerType *ptrB = B->getAs<PointerType>()) {
184 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType();
UnreachableCodeChecker.cpp 82 if (Optional<BlockEntrance> BE = P.getAs<BlockEntrance>()) {
137 if (Optional<CFGStmt> S = (*ci).getAs<CFGStmt>())
198 if (Optional<CFGStmt> S = I->getAs<CFGStmt>())
  /external/clang/tools/libclang/
CXType.cpp 116 if (const DecayedType *DT = T->getAs<DecayedType>()) {
408 if (const RecordType *Record = TP->getAs<RecordType>())
501 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>())
504 if (T->getAs<FunctionNoProtoType>())
515 if (const FunctionType *FD = T->getAs<FunctionType>()) {
541 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
545 if (T->getAs<FunctionNoProtoType>()) {
557 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
573 if (const FunctionType *FD = T->getAs<FunctionType>())
763 if (const RecordType *ChildType = I->getType()->getAs<RecordType>())
    [all...]
  /external/clang/lib/AST/
ASTContext.cpp 481 if (const TagType *TT = QT->getAs<TagType>())
    [all...]

Completed in 660 milliseconds

12 3 4 5 6 7 8