Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp164 if (CXXRD->getTypeForDecl()->isDependentType()) in shouldSkipDecl()
166 if (CXXRD->getTypeForDecl()->isInstantiationDependentType()) in shouldSkipDecl()
316 Os << QualType::getAsString(RD->getTypeForDecl(), Qualifiers(), in reportRecord()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp84 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
H A DClangExpressionDeclMap.cpp841 QualType class_qual_type(class_decl->getTypeForDecl(), 0); in LookUpLldbClass()
927 const clang::Type *interface_type = self_interface->getTypeForDecl(); in LookUpLldbObjCClass()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp111 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
H A DFrontendActions.cpp518 if (const Type *Ty = Decl->getTypeForDecl()) { in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComparisonCategories.cpp169 return QualType(Record->getTypeForDecl(), 0); in getType()
H A DDeclTemplate.cpp698 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
702 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
706 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1542 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1568 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
H A DQualTypeNames.cpp362 const Type *TypePtr = TD->getTypeForDecl(); in createNestedNameSpecifier()
H A DDeclBase.cpp1478 if (const auto *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1484 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp428 MC->mangleCXXRTTIName(QualType(D->getTypeForDecl(), 0), NameStream); in getMangledCXXRTTIName()
436 MC->mangleCXXRTTI(QualType(D->getTypeForDecl(), 0), NameStream); in getMangledCXXRTTI()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp113 QualType(TTD->getTypeForDecl(), 0)); in addHandleMember()
165 CanQualType CanTy = Record->getTypeForDecl()->getCanonicalTypeUnqualified(); in addDefaultHandleConstructor()
H A DSemaCXXScopeSpec.cpp270 << QualType(EnumD->getTypeForDecl(), 0) << SS->getRange(); in RequireCompleteEnumDecl()
273 Diag(L, diag::err_incomplete_enum) << QualType(EnumD->getTypeForDecl(), 0); in RequireCompleteEnumDecl()
H A DSemaStmtAsm.cpp857 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
H A DSemaTemplateVariadic.cpp320 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.cpp111 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
H A DCGObjCRuntime.cpp61 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
H A DCGDebugInfo.cpp3469 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
3470 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
3512 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
3513 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3967 ContainingType = getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
4263 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
4306 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
5282 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
5701 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
5715 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]
H A DCGPointerAuth.cpp398 FT, cast<CXXMethodDecl>(FD)->getParent()->getTypeForDecl()); in getMemberFunctionPointer()
H A DCGClass.cpp2770 QualType Ty = QualType(RD->getTypeForDecl(), 0); in EmitTypeMetadataCodeForVCall()
2884 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2893 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2941 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
H A DCodeGenTypes.cpp228 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.cpp372 return QualType(T->getTypeForDecl(), 0); in getType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp186 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
190 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h740 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()
H A DDeclTemplate.h2207 assert(getTypeForDecl() && "partial specialization has no type set!");
2208 return cast<InjectedClassNameType>(getTypeForDecl())
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp538 FieldBeingInitialized->getParent()->getTypeForDecl(), 0)))); in initialize()

123