Home
last modified time | relevance | path

Searched refs:getTypeForDecl (Results 1 – 25 of 36) 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.cpp524 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getDepth(); in getDepth()
528 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getIndex(); in getIndex()
532 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1206 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1231 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
DDeclBase.cpp993 if (const TagType *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
999 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp85 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
DCGCXXABI.cpp139 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
DCGDebugInfo.cpp2033 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2034 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
2035 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
2066 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
2067 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
2068 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateTypeDefinition()
2390 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
2624 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
3378 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
3379 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
DCGVTables.cpp935 QualType(E1.first->getTypeForDecl(), 0), O1); in EmitVTableBitSetEntries()
941 QualType(E2.first->getTypeForDecl(), 0), O2); in EmitVTableBitSetEntries()
DCodeGenTypes.cpp245 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
DCGClass.cpp2556 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2589 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
DCodeGenModule.cpp526 llvm::Metadata *MD = CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in DecorateInstructionWithInvariantGroup()
3937 CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in CreateVTableBitSetEntry()
DMicrosoftCXXABI.cpp824 getContext().getTypeSize(RD->getTypeForDecl()) > 64) in getRecordArgABI()
4025 QualType RTTITy = QualType(Class.RD->getTypeForDecl(), 0); in getCatchableTypeArray()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1567 if (D->getTypeForDecl())
1568 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1602 if (D->getTypeForDecl())
1603 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
DDeclTemplate.h1916 assert(getTypeForDecl() && "partial specialization has no type set!");
1917 return cast<InjectedClassNameType>(getTypeForDecl())
DDeclObjC.h1577 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
/external/lldb/source/DataFormatters/
DNSDictionary.cpp54 clang_type.SetClangType(ast, clang::QualType(record_decl->getTypeForDecl(), 0)); in GetLLDBNSPairType()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp241 const Type *T = D->getTypeForDecl(); in getCXXThis()
DMemRegion.cpp241 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp644 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
DSemaCXXScopeSpec.cpp779 << QualType(TD->getTypeForDecl(), 0) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier()
DSemaAccess.cpp1863 QualType qType = Class->getTypeForDecl()->getCanonicalTypeInternal(); in IsSimplyAccessible()
/external/lldb/source/Expression/
DClangExpressionDeclMap.cpp929 QualType class_qual_type(class_decl->getTypeForDecl(), 0); in FindExternalVisibleDecls()
1054 const clang::Type *interface_type = self_interface->getTypeForDecl(); in FindExternalVisibleDecls()
/external/lldb/source/Symbol/
DClangASTContext.cpp2169 return !tag_decl->getTypeForDecl()->isIncompleteType(); in GetCompleteDecl()
2181 return !objc_interface_decl->getTypeForDecl()->isIncompleteType(); in GetCompleteDecl()
/external/lldb/source/Commands/
DCommandObjectMemory.cpp529 … clang_ast_type.SetClangType(&tdecl->getASTContext(),(lldb::clang_type_t)tdecl->getTypeForDecl()); in DoExecute()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp332 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitTypeDecl()
650 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitObjCInterfaceDecl()

12