Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp164 if (CXXRD->getTypeForDecl()->isDependentType()) in shouldSkipDecl()
166 if (CXXRD->getTypeForDecl()->isInstantiationDependentType()) in shouldSkipDecl()
320 Os << QualType::getAsString(RD->getTypeForDecl(), Qualifiers(), in reportRecord()
H A DDynamicTypePropagation.cpp208 MD->getClassInterface()->getTypeForDecl())) in inferReceiverType()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp81 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
H A DClangExpressionDeclMap.cpp805 QualType class_qual_type(class_decl->getTypeForDecl(), 0); in LookUpLldbClass()
908 const clang::Type *interface_type = self_interface->getTypeForDecl(); in LookUpLldbObjCClass()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp108 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DComparisonCategories.cpp168 return QualType(Record->getTypeForDecl(), 0); in getType()
H A DDeclTemplate.cpp669 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
673 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
677 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1376 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1402 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
H A DQualTypeNames.cpp359 const Type *TypePtr = TD->getTypeForDecl(); in createNestedNameSpecifier()
H A DDeclBase.cpp1270 if (const auto *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1276 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp276 << QualType(EnumD->getTypeForDecl(), 0) << SS->getRange(); in RequireCompleteEnumDecl()
279 Diag(L, diag::err_incomplete_enum) << QualType(EnumD->getTypeForDecl(), 0); in RequireCompleteEnumDecl()
H A DSemaStmtAsm.cpp839 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
H A DSemaTemplateVariadic.cpp307 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp92 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
H A DCGCXXABI.cpp105 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
H A DCGObjCRuntime.cpp60 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
H A DCGDebugInfo.cpp3037 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
3038 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
3080 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
3081 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3492 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
3776 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
3818 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
4641 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
4837 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
4851 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]
H A DCGVTables.cpp1274 QualType(AP1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata()
1280 QualType(AP2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
H A DCGClass.cpp2677 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitTypeMetadataCodeForVCall()
2786 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2796 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2843 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
H A DCodeGenTypes.cpp260 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp433 if (T->getTypeForDecl()) in getDeclValue()
435 T->getTypeForDecl()->getCanonicalTypeInternal().getAsString(TypePP) + in getDeclValue()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h1821 if (D->getTypeForDecl())
1822 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1866 if (D->getTypeForDecl())
1867 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
H A DASTNodeTraverser.h630 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()
H A DDeclTemplate.h2221 assert(getTypeForDecl() && "partial specialization has no type set!");
2222 return cast<InjectedClassNameType>(getTypeForDecl())
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp173 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
177 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
H A DSValBuilder.cpp295 const Type *T = D->getTypeForDecl(); in getCXXThis()

123