Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/unittests/AST/
H A DSizelessTypesTest.cpp27 const Type *FooTy = Foo->getTypeForDecl();
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp81 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
H A DClangExpressionDeclMap.cpp848 QualType class_qual_type(class_decl->getTypeForDecl(), 0); in LookUpLldbClass()
933 const clang::Type *interface_type = self_interface->getTypeForDecl(); in LookUpLldbObjCClass()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardDeclarationNamespaceCheck.cpp126 if (FriendTypes.contains(CurDecl->getTypeForDecl())) { in onEndOfTranslationUnit()
H A DEasilySwappableParametersCheck.cpp1043 WorkType = QualType{ToRecord->getTypeForDecl(), QualifiersToApply}; in approximateStandardConversionSequence()
1222 QualType RecordType{RD->getTypeForDecl(), 0}; in tryConversionOperators()
1273 QualType RecordType{RD->getTypeForDecl(), 0}; in tryConvertingConstructors()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTConsumers.cpp111 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
/llvm-project-15.0.7/clang/lib/AST/
H A DComparisonCategories.cpp168 return QualType(Record->getTypeForDecl(), 0); in getType()
H A DDeclTemplate.cpp679 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
683 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
687 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1404 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1430 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
H A DQualTypeNames.cpp363 const Type *TypePtr = TD->getTypeForDecl(); in createNestedNameSpecifier()
H A DDeclBase.cpp1293 if (const auto *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1299 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeuristicResolver.cpp189 return TD->getTypeForDecl(); in resolveDeclsToType()
H A DAST.cpp128 TD->getTypeForDecl()); in getQualification()
713 return TTPD->getTypeForDecl()->castAs<TemplateTypeParmType>(); in getFunctionPackType()
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DCodeGenExternalTest.cpp192 const clang::Type *clangTy = rd->getCanonicalDecl()->getTypeForDecl(); in test_codegen_fns()
/llvm-project-15.0.7/clang/unittests/Interpreter/
H A DInterpreterTest.cpp222 const clang::Type *RDTy = TD->getTypeForDecl();
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCXXABI.cpp104 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
H A DObjectFilePCHContainerOperations.cpp93 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
H A DCGDebugInfo.cpp3181 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
3182 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
3224 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
3225 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3652 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
3947 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
3989 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
4924 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
5336 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
5350 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]
H A DCGObjCRuntime.cpp60 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
H A DCGVTables.cpp1276 QualType(AP1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata()
1282 QualType(AP2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
H A DCGClass.cpp2701 QualType Ty = QualType(RD->getTypeForDecl(), 0); in EmitTypeMetadataCodeForVCall()
2816 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2826 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2874 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp433 if (T->getTypeForDecl()) in getDeclValue()
435 T->getTypeForDecl()->getCanonicalTypeInternal().getAsString(TypePP) + in getDeclValue()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp176 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
180 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTNodeTraverser.h637 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()

123