Searched refs:Ty (Results 276 - 300 of 369) sorted by last modified time

<<1112131415

/external/clang/include/clang/AST/
H A DType.h497 const Type *Ty; member in struct:clang::SplitQualType
502 SplitQualType() : Ty(nullptr), Quals() {}
503 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {}
509 return std::pair<const Type *, Qualifiers>(Ty, Quals);
513 return a.Ty == b.Ty && a.Quals == b.Quals;
516 return a.Ty != b.Ty || a.Quals != b.Quals;
867 return getAsString(split.Ty, split.Quals);
879 return print(split.Ty, spli
[all...]
H A DTypeLoc.h42 // The correctness of this relies on the property that, for Type *Ty,
43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty
44 const void *Ty; member in class:clang::TypeLoc
84 TypeLoc() : Ty(nullptr), Data(nullptr) { }
86 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { }
88 : Ty(ty), Data(opaqueData) { }
95 bool isNull() const { return !Ty; }
96 LLVM_EXPLICIT operator bool() const { return Ty; }
99 static unsigned getFullDataSizeForType(QualType Ty);
210 UnqualTypeLoc(const Type *Ty, void *Data) argument
325 classofType(const Type *Ty) argument
427 classofType(const Type *Ty) argument
[all...]
/external/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h444 void setArgStruct(llvm::StructType *Ty) { ArgStruct = Ty; } argument
H A DCodeGenABITypes.h60 CanQual<FunctionProtoType> Ty);
62 CanQual<FunctionNoProtoType> Ty);
/external/clang/include/clang/Parse/
H A DParser.h1404 ExprResult ParseCompoundLiteralExpression(ParsedType Ty,
/external/clang/include/clang/Sema/
H A DDeclSpec.h957 /// \param Ty the type to which this conversion function is converting.
961 ParsedType Ty,
966 ConversionFunctionId = Ty;
1135 ParsedType Ty; member in struct:clang::DeclaratorChunk::TypeAndRange
960 setConversionFunctionId(SourceLocation OperatorLoc, ParsedType Ty, SourceLocation EndLoc) argument
H A DInitialization.h996 void AddQualificationConversionStep(QualType Ty,
1003 void AddLValueToRValueStep(QualType Ty);
H A DSema.h1174 static QualType GetTypeFromParser(ParsedType Ty,
3386 ExprResult BuildDeclRefExpr(ValueDecl *D, QualType Ty,
3391 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK,
3594 Declarator &D, ParsedType &Ty,
3597 TypeSourceInfo *Ty,
3610 ParsedType Ty,
3680 ExprResult ActOnVAArg(SourceLocation BuiltinLoc, Expr *E, ParsedType Ty,
3775 /// \brief Tests whether Ty is an instance of std::initializer_list and, if
3777 bool isStdInitializerList(QualType Ty, QualType *Element);
4168 TypeSourceInfo *Ty,
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h43 typedef Type Name ## Ty; \
49 : public ProgramStatePartialTrait<Name ## Ty> { \
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp1234 static bool IsVoidStarType(QualType Ty) { argument
1235 if (!Ty->isPointerType())
1238 while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr()))
1239 Ty = TD->getDecl()->getUnderlyingType();
1242 const PointerType* PT = Ty->getAs<PointerType>();
H A DTransAutoreleasePool.cpp393 bool isNSAutoreleasePool(QualType Ty) { argument
394 QualType pointee = Ty->getPointeeType();
/external/clang/lib/AST/
H A DAPValue.cpp344 void APValue::printPretty(raw_ostream &Out, ASTContext &Ctx, QualType Ty) const{
350 if (Ty->isBooleanType())
360 QualType ElemTy = Ty->getAs<VectorType>()->getElementType();
383 bool IsReference = Ty->isReferenceType();
385 = IsReference ? Ty.getNonReferenceType() : Ty->getPointeeType();
387 InnerTy = Ty;
475 const ArrayType *AT = Ctx.getAsArrayType(Ty);
495 const RecordDecl *RD = Ty->getAs<RecordType>()->getDecl();
545 std::string APValue::getAsString(ASTContext &Ctx, QualType Ty) cons
[all...]
H A DASTContext.cpp505 QualType Ty = I.getType(); local
506 if (Ty.isNull())
508 if (const CXXRecordDecl *NonVirtualBase = Ty->getAsCXXRecordDecl()) {
520 QualType Ty = I.getType(); local
521 if (Ty.isNull())
523 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) {
919 BuiltinType *Ty = new (*this, TypeAlignment) BuiltinType(K); local
920 R = CanQualType::CreateUnsafe(QualType(Ty, 0));
921 Types.push_back(Ty);
2020 canon = getExtQualType(canonSplit.Ty, canonSpli
3736 UnaryTransformType *Ty = local
3884 const Type *Ty = T.getTypePtr(); local
4691 BlockRequiresCopying(QualType Ty, const VarDecl *D) argument
4729 getByrefLifetime(QualType Ty, Qualifiers::ObjCLifetime &LifeTime, bool &HasByrefExtendedLayout) const argument
5434 QualType Ty = getObjCObjectPointerType(CT); local
7722 QualType Ty = DecodeTypeFromStr(TypeStr, *this, Error, RequiresICE, true); local
8022 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); local
8033 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); local
[all...]
H A DASTDiagnostic.cpp33 const Type *Ty = QC.strip(QT); local
36 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) {
41 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
47 dyn_cast<SubstTemplateTypeParmType>(Ty)) {
52 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) {
57 if (const AdjustedType *AT = dyn_cast<AdjustedType>(Ty)) {
62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) {
71 = dyn_cast<TemplateSpecializationType>(Ty))
76 if (QualType(Ty,0) == Context.getObjCIdType() ||
77 QualType(Ty,
164 ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty, ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs, ArrayRef<intptr_t> QualTypeVals) argument
834 GetTemplateSpecializationType( ASTContext &Context, QualType Ty) argument
[all...]
H A DCXXInheritance.cpp141 const RecordType *Ty = I.getType()->getAs<RecordType>(); local
142 if (!Ty) {
149 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());
H A DDecl.cpp2425 QualType Ty = FPT->getParamType(1);
2428 Ctx.hasSameType(Ty, Ctx.getSizeType()))
2430 if (!Ty->isReferenceType())
2432 Ty = Ty->getPointeeType();
2433 if (Ty.getCVRQualifiers() != Qualifiers::Const)
2435 const CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
H A DDeclBase.cpp710 QualType Ty; local
712 Ty = D->getType();
714 Ty = D->getUnderlyingType();
718 if (Ty->isFunctionPointerType())
719 Ty = Ty->getAs<PointerType>()->getPointeeType();
720 else if (BlocksToo && Ty->isBlockPointerType())
721 Ty = Ty->getAs<BlockPointerType>()->getPointeeType();
723 return Ty
[all...]
H A DDeclPrinter.cpp412 QualType Ty = D->getType(); local
413 while (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
415 Ty = PT->getInnerType();
418 if (const FunctionType *AFT = Ty->getAs<FunctionType>()) {
563 Ty.print(Out, Policy, Proto);
H A DDeclarationName.cpp364 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { argument
366 Ty.getUnqualifiedType());
369 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { argument
371 Ty.getUnqualifiedType());
375 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { argument
376 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty);
381 CanQualType Ty) {
392 assert(!Ty.hasQualifiers() &&"Constructor type must be unqualified");
396 assert(!Ty.hasQualifiers() && "Destructor type must be unqualified");
408 ID.AddPointer(Ty
380 getCXXSpecialName(DeclarationName::NameKind Kind, CanQualType Ty) argument
[all...]
H A DExpr.cpp49 const RecordType *Ty = DerivedType->castAs<RecordType>(); local
50 Decl *D = Ty->getDecl();
795 StringKind Kind, bool Pascal, QualType Ty,
798 assert(C.getAsConstantArrayType(Ty) &&
806 StringLiteral *SL = new (Mem) StringLiteral(Ty);
3615 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>())
3616 return Ty->getInterface();
3729 DesignatedInitExpr::DesignatedInitExpr(const ASTContext &C, QualType Ty, argument
3736 : Expr(DesignatedInitExprClass, Ty,
794 Create(const ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, const SourceLocation *Loc, unsigned NumStrs) argument
H A DExprCXX.cpp61 const Type *Ty = QT.getTypePtr(); local
63 Ty = QT->getPointeeType().getTypePtr();
65 Ty = Ty->getBaseElementTypeUnsafe();
68 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
H A DExprConstant.cpp6984 QualType Ty = E->getTypeOfArgument();
6986 if (Ty->isVectorType()) {
6987 unsigned n = Ty->castAs<VectorType>()->getNumElements();
H A DItaniumMangle.cpp1876 const Type *ty = split.Ty;
3828 void ItaniumMangleContextImpl::mangleCXXRTTI(QualType Ty, raw_ostream &Out) {
3830 assert(!Ty.hasQualifiers() && "RTTI info cannot have top-level qualifiers");
3833 Mangler.mangleType(Ty);
3836 void ItaniumMangleContextImpl::mangleCXXRTTIName(QualType Ty,
3841 Mangler.mangleType(Ty);
3844 void ItaniumMangleContextImpl::mangleTypeName(QualType Ty, raw_ostream &Out) {
3845 mangleCXXRTTIName(Ty, Out);
H A DMangleNumberingContext.cpp36 const Type *Ty = nullptr; local
37 return ++ManglingNumbers[Ty];
43 const Type *Ty = nullptr; local
44 return ++ManglingNumbers[Ty];
H A DMicrosoftMangle.cpp422 QualType Ty = VD->getType(); local
423 if (Ty->isPointerType() || Ty->isReferenceType() ||
424 Ty->isMemberPointerType()) {
425 mangleType(Ty, SR, QMM_Drop);
427 Ty.getDesugaredType(getASTContext()).getLocalQualifiers(), nullptr);
428 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) {
434 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false);
435 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) {
441 mangleQualifiers(Ty
[all...]

Completed in 291 milliseconds

<<1112131415