Home
last modified time | relevance | path

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

1234

/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp144 if (CXXRD->getTypeForDecl()->isDependentType()) in shouldSkipDecl()
146 if (CXXRD->getTypeForDecl()->isInstantiationDependentType()) in shouldSkipDecl()
284 Os << QualType::getAsString(RD->getTypeForDecl(), Qualifiers()) << "'"; in reportRecord()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp164 if (CXXRD->getTypeForDecl()->isDependentType()) in shouldSkipDecl()
166 if (CXXRD->getTypeForDecl()->isInstantiationDependentType()) in shouldSkipDecl()
315 Os << QualType::getAsString(RD->getTypeForDecl(), Qualifiers(), in reportRecord()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangPersistentVariables.cpp78 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
/external/llvm-project/clang/unittests/AST/
DSizelessTypesTest.cpp27 const Type *FooTy = Foo->getTypeForDecl();
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp126 if (FriendTypes.count(CurDecl->getTypeForDecl()) != 0) { in onEndOfTranslationUnit()
/external/clang/lib/AST/
DDeclTemplate.cpp505 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getDepth(); in getDepth()
509 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getIndex(); in getIndex()
513 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1163 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1188 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
DDeclBase.cpp1037 if (const TagType *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1043 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/external/llvm-project/clang/lib/AST/
DComparisonCategories.cpp168 return QualType(Record->getTypeForDecl(), 0); in getType()
DDeclTemplate.cpp643 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
647 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
651 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1350 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1376 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
DQualTypeNames.cpp363 TD->getTypeForDecl()); in createNestedNameSpecifier()
/external/llvm-project/clang/lib/Frontend/
DASTConsumers.cpp108 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
/external/llvm-project/clang/unittests/CodeGen/
DCodeGenExternalTest.cpp192 const clang::Type *clangTy = rd->getCanonicalDecl()->getTypeForDecl(); in test_codegen_fns()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2187 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2188 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
2189 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
2230 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
2231 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
2232 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateTypeDefinition()
2585 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
2822 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
3436 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
3588 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
[all …]
DCGCXXABI.cpp139 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
DObjectFilePCHContainerOperations.cpp95 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
DCGVTables.cpp963 QualType(E1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata()
969 QualType(E2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
/external/llvm-project/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp92 QualType QualTy(D->getTypeForDecl(), 0); in VisitObjCInterfaceDecl()
DCGCXXABI.cpp105 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
DCGObjCRuntime.cpp60 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
DCGDebugInfo.cpp2975 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2976 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
3018 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
3019 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3434 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
3711 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
3750 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
4533 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
4724 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
4738 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp379 TD->getTypeForDecl()); in createNestedNameSpecifier()
/external/llvm-project/clang-tools-extra/clangd/
DAST.cpp120 TD->getTypeForDecl()); in getQualification()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1655 if (D->getTypeForDecl())
1656 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1690 if (D->getTypeForDecl())
1691 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp241 const Type *T = D->getTypeForDecl(); in getCXXThis()
/external/llvm-project/clang/lib/Tooling/ASTDiff/
DASTDiff.cpp433 if (T->getTypeForDecl()) in getDeclValue()
435 T->getTypeForDecl()->getCanonicalTypeInternal().getAsString(TypePP) + in getDeclValue()

1234