Home
last modified time | relevance | path

Searched refs:getTypeForDecl (Results 1 – 25 of 35) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp144 if (CXXRD->getTypeForDecl()->isDependentType()) in shouldSkipDecl()
146 if (CXXRD->getTypeForDecl()->isInstantiationDependentType()) in shouldSkipDecl()
284 Os << QualType::getAsString(RD->getTypeForDecl(), Qualifiers()) << "'"; in reportRecord()
DDynamicTypePropagation.cpp335 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
/external/clang/lib/AST/
DDeclTemplate.cpp505 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getDepth(); in getDepth()
509 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getIndex(); in getIndex()
513 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1163 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1188 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
DDeclBase.cpp1037 if (const TagType *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1043 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
DASTDumper.cpp1498 dumpTypeAsChild(TD->getTypeForDecl()); in VisitUsingShadowDecl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2187 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2188 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
2189 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
2230 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
2231 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
2232 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateTypeDefinition()
2585 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
2822 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
3436 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
3588 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
[all …]
DCGCXXABI.cpp139 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
DObjectFilePCHContainerOperations.cpp95 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
DCGVTables.cpp963 QualType(E1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata()
969 QualType(E2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
DCGClass.cpp2618 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitTypeMetadataCodeForVCall()
2721 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2749 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2790 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
DCodeGenTypes.cpp245 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
DCodeGenModule.cpp555 llvm::Metadata *MD = CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in DecorateInstructionWithInvariantGroup()
4265 CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in AddVTableTypeMetadata()
DMicrosoftCXXABI.cpp824 getContext().getTypeSize(RD->getTypeForDecl()) > 64) in getRecordArgABI()
4039 QualType RTTITy = QualType(Class.RD->getTypeForDecl(), 0); in getCatchableTypeArray()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp379 TD->getTypeForDecl()); in createNestedNameSpecifier()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1655 if (D->getTypeForDecl())
1656 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1690 if (D->getTypeForDecl())
1691 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
DDeclTemplate.h1918 assert(getTypeForDecl() && "partial specialization has no type set!");
1919 return cast<InjectedClassNameType>(getTypeForDecl())
DDeclObjC.h1819 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
DDecl.h2590 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp241 const Type *T = D->getTypeForDecl(); in getCXXThis()
DMemRegion.cpp237 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp979 record->getTypeForDecl()->getAsCXXRecordDecl()) { in CheckWeakPtrFactoryMembers()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp638 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
DSemaCXXScopeSpec.cpp809 << QualType(TD->getTypeForDecl(), 0) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier()
DSemaAccess.cpp1870 QualType qType = Class->getTypeForDecl()->getCanonicalTypeInternal(); in IsSimplyAccessible()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp358 Record.AddTypeRef(QualType(D->getTypeForDecl(), 0)); in VisitTypeDecl()
674 Record.AddTypeRef(QualType(D->getTypeForDecl(), 0)); in VisitObjCInterfaceDecl()

12