/external/clang/include/clang/AST/ |
H A D | Type.h | 497 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 D | TypeLoc.h | 42 // 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 D | CGFunctionInfo.h | 444 void setArgStruct(llvm::StructType *Ty) { ArgStruct = Ty; } argument
|
H A D | CodeGenABITypes.h | 60 CanQual<FunctionProtoType> Ty); 62 CanQual<FunctionNoProtoType> Ty);
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 1404 ExprResult ParseCompoundLiteralExpression(ParsedType Ty,
|
/external/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 957 /// \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 D | Initialization.h | 996 void AddQualificationConversionStep(QualType Ty, 1003 void AddLValueToRValueStep(QualType Ty);
|
H A D | Sema.h | 1174 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 D | ProgramStateTrait.h | 43 typedef Type Name ## Ty; \ 49 : public ProgramStatePartialTrait<Name ## Ty> { \
|
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1234 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 D | TransAutoreleasePool.cpp | 393 bool isNSAutoreleasePool(QualType Ty) { argument 394 QualType pointee = Ty->getPointeeType();
|
/external/clang/lib/AST/ |
H A D | APValue.cpp | 344 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 D | ASTContext.cpp | 505 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 D | ASTDiagnostic.cpp | 33 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 D | CXXInheritance.cpp | 141 const RecordType *Ty = I.getType()->getAs<RecordType>(); local 142 if (!Ty) { 149 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());
|
H A D | Decl.cpp | 2425 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 D | DeclBase.cpp | 710 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 D | DeclPrinter.cpp | 412 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 D | DeclarationName.cpp | 364 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 D | Expr.cpp | 49 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 D | ExprCXX.cpp | 61 const Type *Ty = QT.getTypePtr(); local 63 Ty = QT->getPointeeType().getTypePtr(); 65 Ty = Ty->getBaseElementTypeUnsafe(); 68 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
|
H A D | ExprConstant.cpp | 6984 QualType Ty = E->getTypeOfArgument(); 6986 if (Ty->isVectorType()) { 6987 unsigned n = Ty->castAs<VectorType>()->getNumElements();
|
H A D | ItaniumMangle.cpp | 1876 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 D | MangleNumberingContext.cpp | 36 const Type *Ty = nullptr; local 37 return ++ManglingNumbers[Ty]; 43 const Type *Ty = nullptr; local 44 return ++ManglingNumbers[Ty];
|
H A D | MicrosoftMangle.cpp | 422 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...] |