| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | TypedefUnderlyingTypeResolver.cpp | 23 const NamedDecl *TypeDecl = nullptr; in getUnderlyingTypeDecl() local 27 TypeDecl = TypedefTy->getDecl(); in getUnderlyingTypeDecl() 29 TypeDecl = TagTy->getDecl(); in getUnderlyingTypeDecl() 32 TypeDecl = ObjCITy->getDecl(); in getUnderlyingTypeDecl() 35 if (TypeDecl && TypedefTy) { in getUnderlyingTypeDecl() 41 TypeDecl = TypedefDecl; in getUnderlyingTypeDecl() 44 return TypeDecl; in getUnderlyingTypeDecl() 52 const NamedDecl *TypeDecl = getUnderlyingTypeDecl(Type); in getSymbolReferenceForType() local 56 if (TypeDecl) { in getSymbolReferenceForType() 58 TypeName = TypeDecl->getName().str(); in getSymbolReferenceForType() [all …]
|
| /freebsd/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 | 82 if (clang::TypeDecl *tdecl = llvm::dyn_cast<clang::TypeDecl>(p.m_decl)) { in GetCompilerTypeFromPersistentDecl()
|
| H A D | ASTResultSynthesizer.cpp | 410 typedef DeclContext::specific_decl_iterator<TypeDecl> TypeDeclIterator; in RecordPersistentTypes() 419 void ASTResultSynthesizer::MaybeRecordPersistentType(TypeDecl *D) { in MaybeRecordPersistentType()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 325 if (!isa<TypeDecl>(SD)) in isAcceptableNestedNameSpecifier() 330 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in isAcceptableNestedNameSpecifier() 603 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier() 605 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier() 606 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier() 644 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier() 744 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) { in BuildCXXNestedNameSpecifier()
|
| H A D | HeuristicResolver.cpp | 95 const auto TypeFilter = [](const NamedDecl *D) { return isa<TypeDecl>(D); }; in __anon96160a110602() 104 if (const auto *TD = dyn_cast<TypeDecl>(Decls[0])) { in resolveDeclsToType()
|
| H A D | SemaBoundsSafety.cpp | 223 assert(IncompleteTyDecl == nullptr || isa<TypeDecl>(IncompleteTyDecl)); in EmitIncompleteCountedByPointeeNotes()
|
| H A D | SemaLookup.cpp | 394 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult() 564 if (const auto *TD = dyn_cast<TypeDecl>(D)) { in resolveKind() 2598 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName() 2837 else if (const auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup() 5495 if (!isa<TypeDecl>(D)) in ValidateCandidate() 5545 : isa<TypeDecl>(ND)) && in ValidateCandidate()
|
| H A D | SemaStmtAsm.cpp | 896 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
|
| H A D | SemaExprCXX.cpp | 171 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName() 208 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName() 223 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName() 398 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName() 399 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName() 421 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName() 438 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
|
| H A D | SemaDeclObjC.cpp | 1383 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() 1500 } else if (!isa<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1554 typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl; in actOnObjCTypeArgsOrProtocolQualifiers() 1565 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1591 if (auto *actualTypeDecl = dyn_cast<TypeDecl *>(typeDecl)) in actOnObjCTypeArgsOrProtocolQualifiers() 1718 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
|
| H A D | SemaDecl.cpp | 106 bool IsType = isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in ValidateCandidate() 144 TypeDecl *TD, SourceLocation NameLoc) { in getTypeDeclType() 210 if (!isa<TypeDecl>(ND)) in lookupUnqualifiedTypeNameInBase() 496 if (isa<TypeDecl, ObjCInterfaceDecl, UnresolvedUsingIfExistsDecl>( in getTypeName() 534 if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) { in getTypeName() 816 if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I)) in isResultTypeOrTemplate() 994 (isa<TypeDecl>(UnderlyingFirstDecl) || in ClassifyName() 1158 auto BuildTypeFor = [&](TypeDecl *Type, NamedDecl *Found) { in ClassifyName() 1166 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1220 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName() [all …]
|
| H A D | SemaTemplate.cpp | 2761 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Record->getParent())) in MatchTemplateParametersToScopeSpecifier() 2771 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) in MatchTemplateParametersToScopeSpecifier() 2806 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent())) in MatchTemplateParametersToScopeSpecifier() 5039 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument() 11118 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 429 TypeDecl *FILEDecl = nullptr; 432 TypeDecl *jmp_bufDecl = nullptr; 435 TypeDecl *sigjmp_bufDecl = nullptr; 438 TypeDecl *ucontext_tDecl = nullptr; 1372 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; 1753 QualType getTypeDeclType(const TypeDecl *Decl, 1754 const TypeDecl *PrevDecl = nullptr) const { 2178 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl() 2188 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl() 2200 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl() [all …]
|
| H A D | Decl.h | 3481 class TypeDecl : public NamedDecl { 3497 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, const IdentifierInfo *Id, 3524 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> { 3542 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() 3673 class TagDecl : public TypeDecl, 3936 using TypeDecl::printName;
|
| H A D | ASTNodeTraverser.h | 775 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | DeclTemplate.h | 1171 class TemplateTypeParmDecl final : public TypeDecl, 1203 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | QualTypeNames.cpp | 43 const ASTContext &Ctx, const TypeDecl *TD, 355 const TypeDecl *TD, in createNestedNameSpecifier()
|
| H A D | ASTDiagnostic.cpp | 486 } else if (TypeDecl *Type = dyn_cast<TypeDecl>(DC)) { in FormatASTNodeDiagnosticArgument()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 115 if (auto *TD = dyn_cast<TypeDecl>(InnerD)) in print()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 218 bool TypeOverride = isa<TypeDecl>(D); in gatherTemplatePseudoOverrides() 228 } else if (!isa<TypeDecl>(ND)) in gatherTemplatePseudoOverrides()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerWriter.cpp | 76 bool VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|
| H A D | CGDebugInfo.h | 396 void CollectRecordNestedType(const TypeDecl *RD,
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 433 if (isa<TypeDecl>(D)) in isInFunctionLikeBodyOfCode()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Descriptor.cpp | 429 if (const auto *T = dyn_cast_if_present<TypeDecl>(asDecl())) in getType()
|