Home
last modified time | relevance | path

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

123

/freebsd-14.2/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()
H A DDynamicTypePropagation.cpp207 MD->getClassInterface()->getTypeForDecl())) in inferReceiverType()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp84 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
H A DClangExpressionDeclMap.cpp842 QualType class_qual_type(class_decl->getTypeForDecl(), 0); in LookUpLldbClass()
928 const clang::Type *interface_type = self_interface->getTypeForDecl(); in LookUpLldbObjCClass()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp111 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DComparisonCategories.cpp169 return QualType(Record->getTypeForDecl(), 0); in getType()
H A DDeclTemplate.cpp689 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
693 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
697 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1461 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1487 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
H A DQualTypeNames.cpp361 const Type *TypePtr = TD->getTypeForDecl(); in createNestedNameSpecifier()
H A DDeclBase.cpp1414 if (const auto *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1420 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp113 QualType(TTD->getTypeForDecl(), 0)); in addHandleMember()
160 CanQualType CanTy = Record->getTypeForDecl()->getCanonicalTypeUnqualified(); in addDefaultHandleConstructor()
H A DSemaCXXScopeSpec.cpp295 << QualType(EnumD->getTypeForDecl(), 0) << SS->getRange(); in RequireCompleteEnumDecl()
298 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.cpp308 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.cpp101 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
H A DObjectFilePCHContainerOperations.cpp93 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
H A DCGObjCRuntime.cpp61 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
H A DCGDebugInfo.cpp3343 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
3344 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
3386 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
3387 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3814 ContainingType = getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
4110 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
4153 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
5147 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
5560 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
5574 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]
H A DCGClass.cpp2727 QualType Ty = QualType(RD->getTypeForDecl(), 0); in EmitTypeMetadataCodeForVCall()
2841 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2850 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2898 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
H A DCodeGenTypes.cpp172 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.cpp312 return QualType(T->getTypeForDecl(), 0); in getType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp432 if (T->getTypeForDecl()) in getDeclValue()
434 T->getTypeForDecl()->getCanonicalTypeInternal().getAsString(TypePP) + in getDeclValue()
/freebsd-14.2/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()
H A DSValBuilder.cpp325 const Type *T = D->getTypeForDecl(); in getCXXThis()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h649 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()
H A DDeclTemplate.h2217 assert(getTypeForDecl() && "partial specialization has no type set!");
2218 return cast<InjectedClassNameType>(getTypeForDecl())

123