| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.h | 20 class TypeDecl; variable 146 void MaybeRecordPersistentType(clang::TypeDecl *D);
|
| H A D | ClangPersistentVariables.cpp | 79 if (clang::TypeDecl *tdecl = llvm::dyn_cast<clang::TypeDecl>(p.m_decl)) { in GetCompilerTypeFromPersistentDecl()
|
| H A D | ASTResultSynthesizer.cpp | 392 typedef DeclContext::specific_decl_iterator<TypeDecl> TypeDeclIterator; in RecordPersistentTypes() 401 void ASTResultSynthesizer::MaybeRecordPersistentType(TypeDecl *D) { in MaybeRecordPersistentType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 339 if (!isa<TypeDecl>(SD)) in isAcceptableNestedNameSpecifier() 344 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in isAcceptableNestedNameSpecifier() 697 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier() 699 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier() 700 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier() 738 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier() 827 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaLookup.cpp | 386 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult() 532 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) { in resolveKind() 2298 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName() 2565 else if (const auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup() 5229 if (!isa<TypeDecl>(D)) in ValidateCandidate() 5279 : isa<TypeDecl>(ND)) && in ValidateCandidate()
|
| H A D | SemaStmtAsm.cpp | 838 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
|
| H A D | SemaDeclObjC.cpp | 1364 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() 1485 } else if (!isa<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1539 typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl; in actOnObjCTypeArgsOrProtocolQualifiers() 1550 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1576 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers() 1703 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
|
| H A D | SemaExprMember.cpp | 677 if (!isa<TypeDecl>(DC)) { in LookupMemberExprInRecord() 1170 if (isa<TypeDecl>(MemberDecl)) in BuildMemberReferenceExpr()
|
| H A D | SemaExprCXX.cpp | 185 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName() 222 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName() 237 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName() 408 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName() 409 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName() 431 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName() 448 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
|
| H A D | SemaTemplate.cpp | 3100 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Record->getParent())) in MatchTemplateParametersToScopeSpecifier() 3110 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) in MatchTemplateParametersToScopeSpecifier() 3144 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent())) in MatchTemplateParametersToScopeSpecifier() 5000 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument() 10657 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
|
| H A D | SemaDecl.cpp | 87 bool IsType = isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in ValidateCandidate() 215 if (!isa<TypeDecl>(ND)) in lookupUnqualifiedTypeNameInBase() 438 if (isa<TypeDecl, ObjCInterfaceDecl, UnresolvedUsingIfExistsDecl>( in getTypeName() 473 if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) { in getTypeName() 786 if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I)) in isResultTypeOrTemplate() 974 (isa<TypeDecl>(UnderlyingFirstDecl) || in ClassifyName() 1137 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1190 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName() 2246 bool Sema::isIncompatibleTypedef(TypeDecl *Old, TypedefNameDecl *New) { in isIncompatibleTypedef() 2333 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl() [all …]
|
| H A D | SemaCodeComplete.cpp | 913 if (const auto *Type = dyn_cast<TypeDecl>(ND)) in getDeclUsageType() 1004 if ((isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND)) && in getBasePriority() 1418 if (isa<TypeDecl>(ND)) in IsOrdinaryNonTypeName() 1518 return isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in IsType() 2687 T = Context.getTypeDeclType(cast<TypeDecl>(Enumerator->getDeclContext())); in AddResultTypeChunk() 7420 } else if (TypeDecl *TD = dyn_cast_or_null<TypeDecl>(ND)) { in CodeCompleteObjCSuperMessage()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 395 TypeDecl *FILEDecl = nullptr; 398 TypeDecl *jmp_bufDecl = nullptr; 401 TypeDecl *sigjmp_bufDecl = nullptr; 404 TypeDecl *ucontext_tDecl = nullptr; 1175 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; 1504 QualType getTypeDeclType(const TypeDecl *Decl, 1505 const TypeDecl *PrevDecl = nullptr) const { 1847 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl() 1857 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl() 1869 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl() [all …]
|
| H A D | Decl.h | 3125 class TypeDecl : public NamedDecl { 3140 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, 3167 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> { 3185 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() 3315 class TagDecl : public TypeDecl,
|
| H A D | ASTNodeTraverser.h | 629 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | DeclTemplate.h | 1174 class TemplateTypeParmDecl final : public TypeDecl, 1212 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
|
| H A D | DeclCXX.h | 3809 : public TypeDecl, 3828 : TypeDecl(UnresolvedUsingTypename, DC, TargetNameLoc, TargetName, in UnresolvedUsingTypenameDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | QualTypeNames.cpp | 46 const ASTContext &Ctx, const TypeDecl *TD, 356 const TypeDecl *TD, in createNestedNameSpecifier()
|
| H A D | ASTDiagnostic.cpp | 453 } else if (TypeDecl *Type = dyn_cast<TypeDecl>(DC)) { in FormatASTNodeDiagnosticArgument()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 107 if (auto *TD = dyn_cast<TypeDecl>(InnerD)) in print()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 220 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
|
| H A D | IndexDecl.cpp | 212 bool TypeOverride = isa<TypeDecl>(D); in gatherTemplatePseudoOverrides() 222 } else if (!isa<TypeDecl>(ND)) in gatherTemplatePseudoOverrides()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 77 bool VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|
| H A D | CGDebugInfo.h | 327 void CollectRecordNestedType(const TypeDecl *RD,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 432 if (isa<TypeDecl>(D)) in isInFunctionLikeBodyOfCode()
|