Home
last modified time | relevance | path

Searched refs:getTypePtr (Results 1 – 25 of 59) sorted by relevance

123

/external/clang/include/clang/AST/
DTypeLoc.h80 const Type *getTypePtr() const { in getTypePtr() function
81 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
180 const Type *getTypePtr() const { in getTypePtr() function
185 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
206 return UnqualTypeLoc(getTypePtr(), Data); in getUnqualifiedLoc()
297 return Derived::classofType(TL->getTypePtr()); in classof()
300 return Derived::classofType(TL->getTypePtr()); in classof()
310 const TypeClass *getTypePtr() const { in getTypePtr() function
311 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
374 return Derived::classofType(TL->getTypePtr()); in classof()
[all …]
DCanonicalType.h71 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
215 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
219 Type Accessor() const { return this->getTypePtr()->Accessor(); }
230 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function
354 return Val.getTypePtr();
604 return CanQualType::CreateUnsafe(this->getTypePtr()->getArgType(i));
614 return arg_type_iterator(this->getTypePtr()->arg_type_begin());
618 return arg_type_iterator(this->getTypePtr()->arg_type_end());
736 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
749 if (isa<U>(Stored.getTypePtr()))
DRecursiveASTVisitor.h452 const_cast<Type*>(T.getTypePtr())); in TraverseType()
808 if (T->getBaseType().getTypePtr() != T)
829 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE*>(TL.getTypePtr()))); \
860 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
883 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
917 if (TL.getTypePtr()->getSizeExpr())
918 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
919 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
924 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
930 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
DType.h502 const Type *getTypePtr() const;
518 return *getTypePtr();
522 return getTypePtr();
686 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
889 return Val.getTypePtr();
3650 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
4374 inline const Type *QualType::getTypePtr() const {
4419 return getTypePtr()->isCanonicalUnqualified();
4426 const Type *T = getTypePtr();
4455 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
DExprObjC.h266 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { in ObjCPropertyRefExpr()
285 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr()
416 void setSuperReceiver(QualType T) { Receiver = T.getTypePtr(); } in setSuperReceiver()
DASTContext.h1080 return getTypeInfo(T.getTypePtr()); in getTypeInfo()
1194 return T->getCanonicalTypeInternal().getTypePtr(); in getCanonicalType()
1225 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType()
1226 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
/external/clang/lib/AST/
DStmtIterator.cpp27 t = vt->getElementType().getTypePtr(); in FindVA()
37 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
93 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
103 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
DTypeLoc.cpp200 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
259 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
267 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
276 if (getTypePtr()->getQualifier()) { in initializeLocal()
278 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
288 getTypePtr()->getArgs(), in initializeLocal()
DType.cpp160 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
169 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
283 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
491 return Visit(T.getTypePtr()); in Visit()
801 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
922 QualType CanonicalType = getTypePtr()->CanonicalType; in isPODType()
986 QualType CanonicalType = getTypePtr()->CanonicalType; in isTrivialType()
1164 const Type *ty = getTypePtr(); in isCXX11PODType()
1469 if (const ReferenceType *RefType = getTypePtr()->getAs<ReferenceType>()) in getNonLValueExprType()
1478 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
[all …]
DASTContext.cpp699 Align = std::max(Align, getPreferredTypeAlign(T.getTypePtr())); in getDeclAlign()
740 return getTypeInfoInChars(T.getTypePtr()); in getTypeInfoInChars()
926 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfo()
956 getReplacementType().getTypePtr()); in getTypeInfo()
961 return getTypeInfo(A->getDeducedType().getTypePtr()); in getTypeInfo()
965 return getTypeInfo(cast<ParenType>(T)->getInnerType().getTypePtr()); in getTypeInfo()
970 = getTypeInfo(Typedef->getUnderlyingType().getTypePtr()); in getTypeInfo()
984 .getTypePtr()); in getTypeInfo()
987 return getTypeInfo(cast<TypeOfType>(T)->getUnderlyingType().getTypePtr()); in getTypeInfo()
991 .getTypePtr()); in getTypeInfo()
[all …]
DMicrosoftMangle.cpp241 mangleType(cast<ArrayType>(Ty.getTypePtr()), true); in mangleVariableEncoding()
657 mangleType(static_cast<const CLASS##Type*>(T.getTypePtr())); \ in mangleType()
961 static_cast<const ConstantArrayType *>(ElementTy.getTypePtr()); in mangleExtraDimensions()
1021 mangleType(static_cast<const FunctionType *>(PointeeTy.getTypePtr()), in mangleType()
DTemplateBase.cpp37 const ::clang::Type *T = TemplArg.getIntegralType().getTypePtr(); in printIntegral()
441 NumExpansions = Expansion.getTypePtr()->getNumExpansions(); in getPackExpansionPattern()
DDumpXML.cpp907 dispatch(QualType(T.getTypePtr(), 0)); in dispatch()
912 Type *Ty = const_cast<Type*>(T.getTypePtr()); in dispatch()
914 XMLTypeVisitor<XMLDumper>::dispatch(const_cast<Type*>(T.getTypePtr())); in dispatch()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
DCastSizeChecker.cpp36 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/external/v8/tools/gcmole/
Dgcmole.cc208 qtype.getTypePtr()->getCanonicalTypeUnqualified().getTypePtr(); in IsHandleType()
308 getReplacementType().getTypePtr()); in ToTagType()
318 dyn_cast_or_null<clang::PointerType>(expr->getType().getTypePtr()); in IsRawPointerType()
322 ToTagType(type->getPointeeType().getTypePtr()); in IsRawPointerType()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
260 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
284 const Type *Ty = T.getTypePtr(); in ConvertType()
556 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
619 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
DCodeGenTBAA.cpp104 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
/external/clang/lib/Serialization/
DASTCommon.h46 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/external/clang/lib/Analysis/
DCocoaConventions.cpp69 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) { in isRefType()
DPseudoConstantAnalysis.cpp183 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
DCFG.cpp506 t = vt->getElementType().getTypePtr(); in FindVA()
777 if (const ReferenceType* RT = QT.getTypePtr()->getAs<ReferenceType>()) { in addLocalScopeForVarDecl()
1408 for (const VariableArrayType* VA = FindVA(VD->getType().getTypePtr()); in VisitDeclSubExpr()
1409 VA != 0; VA = FindVA(VA->getElementType().getTypePtr())) in VisitDeclSubExpr()
2203 for (const VariableArrayType *VA =FindVA(E->getArgumentType().getTypePtr()); in VisitUnaryExprOrTypeTraitExpr()
2204 VA != 0; VA = FindVA(VA->getElementType().getTypePtr())) in VisitUnaryExprOrTypeTraitExpr()
3418 const Type* T = VD->getType().getTypePtr(); in print_elem()
3420 T = RT->getPointeeType().getTypePtr(); in print_elem()
3435 const Type *T = FD->getType().getTypePtr(); in print_elem()
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp120 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
/external/clang/lib/Sema/
DTreeTransform.h3238 SpecTL.getTypePtr()->getTemplateName(), in TransformTypeInObjectScope()
3252 *SpecTL.getTypePtr()->getIdentifier(), in TransformTypeInObjectScope()
3295 SpecTL.getTypePtr()->getTemplateName(), in TransformTypeInObjectScope()
3309 *SpecTL.getTypePtr()->getIdentifier(), in TransformTypeInObjectScope()
3422 const ReferenceType *T = TL.getTypePtr(); in TransformReferenceType()
3485 const MemberPointerType *T = TL.getTypePtr(); in TransformMemberPointerType()
3517 const ConstantArrayType *T = TL.getTypePtr(); in TransformConstantArrayType()
3552 const IncompleteArrayType *T = TL.getTypePtr(); in TransformIncompleteArrayType()
3580 const VariableArrayType *T = TL.getTypePtr(); in TransformVariableArrayType()
3620 const DependentSizedArrayType *T = TL.getTypePtr(); in TransformDependentSizedArrayType()
[all …]
DSemaChecking.cpp2415 T->getCanonicalTypeInternal().getTypePtr()); in forValueOfType()
2423 T = VT->getElementType().getTypePtr(); in forValueOfCanonicalType()
2425 T = CT->getElementType().getTypePtr(); in forValueOfCanonicalType()
2454 T = VT->getElementType().getTypePtr(); in forTargetOfCanonicalType()
2456 T = CT->getElementType().getTypePtr(); in forTargetOfCanonicalType()
2458 T = ET->getDecl()->getIntegerType().getTypePtr(); in forTargetOfCanonicalType()
3065 const Type *Source = S.Context.getCanonicalType(E->getType()).getTypePtr(); in CheckImplicitConversion()
3066 const Type *Target = S.Context.getCanonicalType(T).getTypePtr(); in CheckImplicitConversion()
3095 Source = cast<VectorType>(Source)->getElementType().getTypePtr(); in CheckImplicitConversion()
3096 Target = cast<VectorType>(Target)->getElementType().getTypePtr(); in CheckImplicitConversion()
[all …]

123