| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | TypedefUnderlyingTypeResolver.cpp | 22 const NamedDecl *TypeDecl = nullptr; in getUnderlyingTypeDecl() local 26 TypeDecl = TypedefTy->getDecl(); in getUnderlyingTypeDecl() 28 TypeDecl = TagTy->getDecl(); in getUnderlyingTypeDecl() 31 TypeDecl = ObjCITy->getDecl(); in getUnderlyingTypeDecl() 34 if (TypeDecl && TypedefTy) { in getUnderlyingTypeDecl() 40 TypeDecl = TypedefDecl; in getUnderlyingTypeDecl() 43 return TypeDecl; in getUnderlyingTypeDecl() 51 const NamedDecl *TypeDecl = getUnderlyingTypeDecl(Type); in getSymbolReferenceForType() local 54 if (TypeDecl) { in getSymbolReferenceForType() 56 TypeName = TypeDecl->getName().str(); in getSymbolReferenceForType() [all …]
|
| /openbsd-src/gnu/llvm/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 | 81 if (clang::TypeDecl *tdecl = llvm::dyn_cast<clang::TypeDecl>(p.m_decl)) { in GetCompilerTypeFromPersistentDecl()
|
| H A D | ASTResultSynthesizer.cpp | 418 typedef DeclContext::specific_decl_iterator<TypeDecl> TypeDeclIterator; in RecordPersistentTypes() 427 void ASTResultSynthesizer::MaybeRecordPersistentType(TypeDecl *D) { in MaybeRecordPersistentType()
|
| /openbsd-src/gnu/llvm/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() 831 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) { in BuildCXXNestedNameSpecifier()
|
| H A D | SemaLookup.cpp | 389 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult() 536 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) { in resolveKind() 2565 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName() 2832 else if (const auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup() 5553 if (!isa<TypeDecl>(D)) in ValidateCandidate() 5603 : isa<TypeDecl>(ND)) && in ValidateCandidate()
|
| H A D | SemaStmtAsm.cpp | 854 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
|
| H A D | SemaDeclObjC.cpp | 1380 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() 1501 } else if (!isa<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1555 typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl; in actOnObjCTypeArgsOrProtocolQualifiers() 1566 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1592 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers() 1719 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
|
| H A D | SemaExprMember.cpp | 678 if (!isa<TypeDecl>(DC)) { in LookupMemberExprInRecord() 1171 if (isa<TypeDecl>(MemberDecl)) in BuildMemberReferenceExpr()
|
| H A D | SemaExprCXX.cpp | 191 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName() 228 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName() 243 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName() 414 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName() 415 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName() 437 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName() 454 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
|
| H A D | SemaTemplate.cpp | 3252 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Record->getParent())) in MatchTemplateParametersToScopeSpecifier() 3262 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) in MatchTemplateParametersToScopeSpecifier() 3296 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent())) in MatchTemplateParametersToScopeSpecifier() 5190 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument() 11017 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXCursor.h | 42 class TypeDecl; variable 88 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 93 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
|
| H A D | CXType.cpp | 242 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getCursorType() 1140 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getDeclObjCTypeEncoding()
|
| H A D | CXCursor.cpp | 928 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef() 936 std::pair<const TypeDecl *, SourceLocation> 939 return std::make_pair(static_cast<const TypeDecl *>(C.data[0]), in getCursorTypeRef()
|
| H A D | CXIndexDataConsumer.cpp | 1208 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in getRefCursor()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTContext.h | 396 TypeDecl *FILEDecl = nullptr; 399 TypeDecl *jmp_bufDecl = nullptr; 402 TypeDecl *sigjmp_bufDecl = nullptr; 405 TypeDecl *ucontext_tDecl = nullptr; 1209 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; 1553 QualType getTypeDeclType(const TypeDecl *Decl, 1554 const TypeDecl *PrevDecl = nullptr) const { 1907 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl() 1917 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl() 1929 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl() [all …]
|
| H A D | Decl.h | 3246 class TypeDecl : public NamedDecl { 3261 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, 3288 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> { 3306 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() 3436 class TagDecl : public TypeDecl,
|
| H A D | ASTNodeTraverser.h | 642 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | QualTypeNames.cpp | 46 const ASTContext &Ctx, const TypeDecl *TD, 358 const TypeDecl *TD, in createNestedNameSpecifier()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 110 if (auto *TD = dyn_cast<TypeDecl>(InnerD)) in print()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 230 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); }); in VisitDependentNameTypeLoc()
|
| H A D | IndexDecl.cpp | 218 bool TypeOverride = isa<TypeDecl>(D); in gatherTemplatePseudoOverrides() 228 } else if (!isa<TypeDecl>(ND)) in gatherTemplatePseudoOverrides()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 433 if (isa<TypeDecl>(D)) in isInFunctionLikeBodyOfCode()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 78 bool VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|
| H A D | CGDebugInfo.h | 339 void CollectRecordNestedType(const TypeDecl *RD,
|