| /netbsd-src/external/apache2/llvm/dist/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() 683 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier() 685 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier() 686 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier() 724 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier() 813 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() 5219 if (!isa<TypeDecl>(D)) in ValidateCandidate() 5269 : 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 | 676 if (!isa<TypeDecl>(DC)) { in LookupMemberExprInRecord() 1169 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() 437 if (isa<TypeDecl>(*Res) || isa<ObjCInterfaceDecl>(*Res) || in getTypeName() 469 if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) { in getTypeName() 778 if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I)) in isResultTypeOrTemplate() 966 (isa<TypeDecl>(UnderlyingFirstDecl) || in ClassifyName() 1129 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1177 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName() 2194 bool Sema::isIncompatibleTypedef(TypeDecl *Old, TypedefNameDecl *New) { in isIncompatibleTypedef() 2281 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() 7417 } else if (TypeDecl *TD = dyn_cast_or_null<TypeDecl>(ND)) { in CodeCompleteObjCSuperMessage()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 234 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getCursorType() 1116 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getDeclObjCTypeEncoding()
|
| H A D | CXCursor.cpp | 878 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef() 886 std::pair<const TypeDecl *, SourceLocation> 889 return std::make_pair(static_cast<const TypeDecl *>(C.data[0]), in getCursorTypeRef()
|
| H A D | CXIndexDataConsumer.cpp | 1195 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in getRefCursor()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTContext.h | 394 TypeDecl *FILEDecl = nullptr; 397 TypeDecl *jmp_bufDecl = nullptr; 400 TypeDecl *sigjmp_bufDecl = nullptr; 403 TypeDecl *ucontext_tDecl = nullptr; 1130 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; 1459 QualType getTypeDeclType(const TypeDecl *Decl, 1460 const TypeDecl *PrevDecl = nullptr) const { 1802 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl() 1812 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl() 1824 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl() [all …]
|
| H A D | Decl.h | 3099 class TypeDecl : public NamedDecl { 3114 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, 3141 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> { 3159 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() 3289 class TagDecl : public TypeDecl,
|
| H A D | ASTNodeTraverser.h | 605 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),
|
| /netbsd-src/external/apache2/llvm/dist/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 | 452 } else if (TypeDecl *Type = dyn_cast<TypeDecl>(DC)) { in FormatASTNodeDiagnosticArgument()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 107 if (auto *TD = dyn_cast<TypeDecl>(InnerD)) in print()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 432 if (isa<TypeDecl>(D)) in isInFunctionLikeBodyOfCode()
|