Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.cpp206 MD->getClassInterface()->getTypeForDecl())) in inferReceiverType()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp83 const_cast<clang::Type *>(tdecl->getTypeForDecl())); in GetCompilerTypeFromPersistentDecl()
H A DClangExpressionDeclMap.cpp847 QualType class_qual_type(class_decl->getTypeForDecl(), 0); in LookUpLldbClass()
933 const clang::Type *interface_type = self_interface->getTypeForDecl(); in LookUpLldbObjCClass()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DASTConsumers.cpp111 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DComparisonCategories.cpp169 return QualType(Record->getTypeForDecl(), 0); in getType()
H A DDeclTemplate.cpp690 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
694 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
698 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.cpp1323 if (const auto *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1329 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp114 QualType(TTD->getTypeForDecl(), 0)); in addHandleMember()
162 CanQualType CanTy = Record->getTypeForDecl()->getCanonicalTypeUnqualified(); in addDefaultHandleConstructor()
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.cpp855 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
H A DSemaTemplateVariadic.cpp308 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
/openbsd-src/gnu/llvm/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.cpp3198 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
3199 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
3241 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
3242 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3669 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
3964 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
4007 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
4958 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
5369 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
5383 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]
H A DCGObjCRuntime.cpp61 QualType InterfaceTy{OID->getTypeForDecl(), 0}; in EmitValueForIvarAtOffset()
H A DCGVTables.cpp1310 QualType(AP1.first->getTypeForDecl(), 0), O1); in EmitVTableTypeMetadata()
1316 QualType(AP2.first->getTypeForDecl(), 0), O2); in EmitVTableTypeMetadata()
H A DCGClass.cpp2742 QualType Ty = QualType(RD->getTypeForDecl(), 0); in EmitTypeMetadataCodeForVCall()
2857 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2867 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2915 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
H A DCodeGenTypes.cpp269 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
/openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp432 if (T->getTypeForDecl()) in getDeclValue()
434 T->getTypeForDecl()->getCanonicalTypeInternal().getAsString(TypePP) + in getDeclValue()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp176 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
180 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
H A DSValBuilder.cpp317 const Type *T = D->getTypeForDecl(); in getCXXThis()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTNodeTraverser.h643 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()
H A DDeclTemplate.h2248 assert(getTypeForDecl() && "partial specialization has no type set!");
2249 return cast<InjectedClassNameType>(getTypeForDecl())

123