| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 164 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 D | SizelessTypesTest.cpp | 27 const Type *FooTy = Foo->getTypeForDecl();
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangPersistentVariables.cpp | 81 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
|
| H A D | ClangExpressionDeclMap.cpp | 848 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 D | ForwardDeclarationNamespaceCheck.cpp | 126 if (FriendTypes.contains(CurDecl->getTypeForDecl())) { in onEndOfTranslationUnit()
|
| H A D | EasilySwappableParametersCheck.cpp | 1043 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 D | ASTConsumers.cpp | 111 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ComparisonCategories.cpp | 168 return QualType(Record->getTypeForDecl(), 0); in getType()
|
| H A D | DeclTemplate.cpp | 679 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 D | QualTypeNames.cpp | 363 const Type *TypePtr = TD->getTypeForDecl(); in createNestedNameSpecifier()
|
| H A D | DeclBase.cpp | 1293 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 D | HeuristicResolver.cpp | 189 return TD->getTypeForDecl(); in resolveDeclsToType()
|
| H A D | AST.cpp | 128 TD->getTypeForDecl()); in getQualification() 713 return TTPD->getTypeForDecl()->castAs<TemplateTypeParmType>(); in getFunctionPackType()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | CodeGenExternalTest.cpp | 192 const clang::Type *clangTy = rd->getCanonicalDecl()->getTypeForDecl(); in test_codegen_fns()
|
| /llvm-project-15.0.7/clang/unittests/Interpreter/ |
| H A D | InterpreterTest.cpp | 222 const clang::Type *RDTy = TD->getTypeForDecl();
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 104 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
|
| H A D | ObjectFilePCHContainerOperations.cpp | 93 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
|
| H A D | CGDebugInfo.cpp | 3181 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 D | CGObjCRuntime.cpp | 60 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
|
| H A D | CGVTables.cpp | 1276 QualType(AP1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata() 1282 QualType(AP2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
|
| H A D | CGClass.cpp | 2701 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 D | SemaCXXScopeSpec.cpp | 276 << 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 D | ASTDiff.cpp | 433 if (T->getTypeForDecl()) in getDeclValue() 435 T->getTypeForDecl()->getCanonicalTypeInternal().getAsString(TypePP) + in getDeclValue()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | MemRegion.cpp | 176 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 D | ASTNodeTraverser.h | 637 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()
|