/external/clang/lib/CodeGen/ |
CodeGenTBAA.cpp | 178 if (const RecordType *TTy = QTy->getAs<RecordType>()) { 229 if (const RecordType *TTy = QTy->getAs<RecordType>()) { 249 if (const RecordType *TTy = QTy->getAs<RecordType>()) {
|
CGCXXABI.cpp | 81 MPT->getPointeeType()->getAs<FunctionProtoType>(); 83 cast<CXXRecordDecl>(MPT->getClass()->getAs<RecordType>()->getDecl());
|
/external/clang/lib/AST/ |
InheritViz.cpp | 95 = static_cast<const CXXRecordDecl *>(Type->getAs<RecordType>()->getDecl());
|
CXXInheritance.cpp | 141 const RecordType *Ty = I.getType()->getAs<RecordType>(); 209 DetectedVirtual = BaseType->getAs<RecordType>(); 329 if (const RecordType *Record = PE->Base->getType()->getAs<RecordType>()) 344 = HidingP->back().Base->getType()->getAs<RecordType>()) 497 if (const RecordType *RT = Base.getType()->getAs<RecordType>()) {
|
DeclarationName.cpp | 151 if (const RecordType *ClassRec = ClassType->getAs<RecordType>()) 161 if (const RecordType *Rec = Type->getAs<RecordType>()) 190 if (const RecordType *Rec = Type->getAs<RecordType>())
|
NSAPI.cpp | 290 const BuiltinType *BT = T->getAs<BuiltinType>(); 294 const TypedefType *TDT = T->getAs<TypedefType>(); 392 while (const TypedefType *TDT = T->getAs<TypedefType>()) {
|
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>(); 37 BPT->getPointeeType()->getAs<FunctionProtoType>(); 181 const PointerType *PredicatePtrTy = PredicateQPtrTy->getAs<PointerType>(); 309 const PointerType *PT = TheValueTy->getAs<PointerType>();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CastSizeChecker.cpp | 51 const RecordType *RT = ToPointeeTy->getAs<RecordType>();
|
BasicObjCFoundationChecks.cpp | 450 Optional<nonloc::ConcreteInt> V = TheTypeVal.getAs<nonloc::ConcreteInt>(); 470 Optional<loc::MemRegionVal> LV = TheValueExpr.getAs<loc::MemRegionVal>(); 575 Optional<DefinedSVal> DefArgVal = ArgVal.getAs<DefinedSVal>(); 790 if (msg.getArgSVal(I).getAs<loc::ConcreteInt>()) 861 const ObjCObjectPointerType *PT = T->getAs<ObjCObjectPointerType>(); 892 Optional<DefinedSVal> KnownCollection = CollectionVal.getAs<DefinedSVal>(); 930 ElementLoc = State->getSVal(Element, LCtx).getAs<Loc>(); [all...] |
MallocChecker.cpp | 635 if (!V.getAs<NonLoc>()) { [all...] |
/external/clang/lib/Sema/ |
SemaLambda.cpp | 549 if (const EnumType *ET = E->getType()->getAs<EnumType>()) { [all...] |
SemaInit.cpp | 503 ILE->setInit(Init, MemberInit.getAs<Expr>()); 509 ILE->updateInit(SemaRef.Context, Init, MemberInit.getAs<Expr>()); 528 if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) { 576 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) { 608 ILE->setArrayFiller(ElementInit.getAs<Expr>()); 610 ILE->setInit(Init, ElementInit.getAs<Expr>()); 615 ILE->setArrayFiller(ElementInit.getAs<Expr>()); 624 ILE->updateInit(SemaRef.Context, Init, ElementInit.getAs<Expr>()); 666 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); 695 maxElements = T->getAs<VectorType>()->getNumElements() [all...] |
SemaCXXScopeSpec.cpp | 57 if (const TagType *Tag = T->getAs<TagType>()) 97 = NNSType->getAs<TemplateSpecializationType>()) { 123 } else if (const RecordType *RecordT = NNSType->getAs<RecordType>()) { 144 const TagType *Tag = NNS->getAsType()->getAs<TagType>(); 201 const TagType *tagType = type->getAs<TagType>(); 758 if (!T->isDependentType() && !T->getAs<TagType>()) { [all...] |
SemaDeclCXX.cpp | 157 = Method->getType()->getAs<FunctionProtoType>(); 271 Arg = Result.getAs<Expr>(); 639 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) { 641 OldType = OldType->getAs<ReferenceType>()->getPointeeType(); 642 } else if (const PointerType *P = NewType->getAs<PointerType>()) { 644 OldType = OldType->getAs<PointerType>()->getPointeeType(); 645 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) { 647 OldType = OldType->getAs<MemberPointerType>()->getPointeeType(); 657 OldType->getAs<FunctionProtoType>(), Old->getLocation(), 658 NewType->getAs<FunctionProtoType>(), New->getLocation())) [all...] |
SemaStmtAsm.cpp | 444 RT = VD->getType()->getAs<RecordType>(); 446 RT = TD->getUnderlyingType()->getAs<RecordType>(); 448 RT = TD->getTypeForDecl()->getAs<RecordType>();
|
/external/clang/include/clang/Sema/ |
Ownership.h | 113 // FIXME: Doesn't work? return P.getAs< void >(); 164 template <typename T> T *getAs() { return static_cast<T*>(get()); } 206 template <typename T> T *getAs() { return static_cast<T*>(get()); }
|
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleConstraintManager.cpp | 27 Optional<nonloc::SymbolVal> SymVal = X.getAs<nonloc::SymbolVal>(); 72 if (Optional<Loc> LV = Cond.getAs<Loc>()) {
|
CallEvent.cpp | 260 if (const FunctionType *FT = Ty->getAs<FunctionType>()) 416 assert(ThisVal.isUnknownOrUndef() || ThisVal.getAs<Loc>()); [all...] |
/external/clang/include/clang/AST/ |
CanonicalType.h | 94 /// The getAs() function is typically used to try to downcast to a 99 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { 108 template<typename U> CanProxy<U> getAs() const; 238 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { ... } 244 template<typename U> CanProxy<U> getAs() const { 245 return this->Stored.template getAs<U>(); 326 /// canonical type or as the result of the @c CanQual<T>::getAs member 675 if (CanQual<ReferenceType> RefType = getAs<ReferenceType>()) 702 CanProxy<U> CanQual<T>::getAs() const {
|
Type.h | [all...] |
/external/clang/lib/ARCMigrate/ |
Transforms.cpp | 55 while (const PointerType *ptr = T->getAs<PointerType>()) 57 if (const ObjCObjectPointerType *ObjT = T->getAs<ObjCObjectPointerType>()) { 370 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { 377 else if (const PointerType *PT = T->getAs<PointerType>()) 379 else if (const ReferenceType *RT = T->getAs<ReferenceType>())
|
/external/chromium_org/tools/clang/plugins/ |
FindBadConstructsConsumer.cpp | 512 dyn_cast<CXXRecordDecl>(base->getType()->getAs<RecordType>()->getDecl()); 621 it->back().Base->getType()->getAs<RecordType>()->getDecl()); 667 iter->getType().getTypePtr()->getAs<TemplateSpecializationType>();
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 189 if (Optional<PostStore> PSL = L.getAs<PostStore>())
|
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | 522 const BlockPointerType *BPT = T->getAs<BlockPointerType>(); 567 if (const PointerType *PT = OCT->getAs<PointerType>()) { 637 const PointerType *PT = funcType->getAs<PointerType>(); [all...] |
/external/clang/tools/libclang/ |
IndexingContext.cpp | 102 if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) { 132 if (const TypedefType *TDT = T->getAs<TypedefType>()) { 135 TST = T->getAs<TemplateSpecializationType>()) { 137 } else if (const RecordType *RT = T->getAs<RecordType>()) { 167 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>()) 170 if (ElaboratedTypeLoc EL = TL.getAs<ElaboratedTypeLoc>()) 172 if (DependentNameTypeLoc DL = TL.getAs<DependentNameTypeLoc>()) 175 TL.getAs<DependentTemplateSpecializationTypeLoc>()) [all...] |