/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 325 if (!isa<TypeDecl>(SD)) in isAcceptableNestedNameSpecifier() 330 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in isAcceptableNestedNameSpecifier() 678 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier() 680 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier() 681 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier() 720 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier() 807 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
|
D | SemaStmtAsm.cpp | 637 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
|
D | SemaCoroutine.cpp | 78 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
|
D | SemaLookup.cpp | 381 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult() 523 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) { in resolveKind() 1929 if (isa<VarDecl>(D) || isa<TypeDecl>(D) || isa<EnumConstantDecl>(D)) in HasOnlyStaticMembers() 4855 if (!isa<TypeDecl>(D)) in ValidateCandidate()
|
D | SemaDeclObjC.cpp | 1273 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() 1390 } else if (!isa<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1444 typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl; in actOnObjCTypeArgsOrProtocolQualifiers() 1455 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1481 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers() 1612 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
|
D | SemaTemplate.cpp | 1703 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Record->getParent())) in MatchTemplateParametersToScopeSpecifier() 1713 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) in MatchTemplateParametersToScopeSpecifier() 1747 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent())) in MatchTemplateParametersToScopeSpecifier() 3161 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument() 8358 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
|
D | SemaDecl.cpp | 78 bool IsType = isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in ValidateCandidate() 180 if (!isa<TypeDecl>(ND)) in lookupUnqualifiedTypeNameInBase() 394 if (isa<TypeDecl>(*Res) || isa<ObjCInterfaceDecl>(*Res)) { in getTypeName() 427 if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) { in getTypeName() 700 if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I)) in isResultTypeOrTemplate() 867 (isa<TypeDecl>(UnderlyingFirstDecl) || in ClassifyName() 1015 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1058 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName() 1898 bool Sema::isIncompatibleTypedef(TypeDecl *Old, TypedefNameDecl *New) { in isIncompatibleTypedef() 1985 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl() [all …]
|
D | SemaExprMember.cpp | 651 if (!isa<TypeDecl>(DC)) { in LookupMemberExprInRecord() 1210 if (isa<TypeDecl>(MemberDecl)) in BuildMemberReferenceExpr()
|
D | SemaCodeComplete.cpp | 673 if (const TypeDecl *Type = dyn_cast<TypeDecl>(ND)) in getDeclUsageType() 754 if ((isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND)) && in getBasePriority() 1073 if (isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND)) in IsOrdinaryNonTypeName() 1168 return isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in IsType() 2092 T = Context.getTypeDeclType(cast<TypeDecl>(Enumerator->getDeclContext())); in AddResultTypeChunk() 5521 } else if (TypeDecl *TD = dyn_cast_or_null<TypeDecl>(ND)) { in CodeCompleteObjCSuperMessage()
|
D | SemaDeclCXX.cpp | 2835 return isa<TypeDecl>(ND); in ValidateCandidate() 2917 TypeDecl *TyD = R.getAsSingle<TypeDecl>(); in BuildMemInitializer() 2959 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer() 8213 if (isa<TypeDecl>(ND)) in ValidateCandidate() 8412 if (!R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration() 8423 if (IsInstantiation && R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration() 8592 if (R.getAsSingle<TypeDecl>()) { in CheckUsingDeclQualifier()
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 43 class TypeDecl; variable 92 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 97 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
|
D | CXType.cpp | 166 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getCursorType() 912 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getDeclObjCTypeEncoding()
|
D | CXCursor.cpp | 706 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef() 714 std::pair<const TypeDecl *, SourceLocation> 717 return std::make_pair(static_cast<const TypeDecl *>(C.data[0]), in getCursorTypeRef()
|
D | CXIndexDataConsumer.cpp | 1199 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in getRefCursor()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 273 TypeDecl *FILEDecl; 276 TypeDecl *jmp_bufDecl; 279 TypeDecl *sigjmp_bufDecl; 282 TypeDecl *ucontext_tDecl; 988 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; 1199 QualType getTypeDeclType(const TypeDecl *Decl, 1200 const TypeDecl *PrevDecl = nullptr) const { 1498 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl() 1508 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) { in setjmp_bufDecl() 1520 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) { in setsigjmp_bufDecl() [all …]
|
D | Decl.h | 2569 class TypeDecl : public NamedDecl { 2581 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, 2609 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> { 2618 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() 2728 : public TypeDecl, public DeclContext, public Redeclarable<TagDecl> { 2810 : TypeDecl(DK, DC, L, Id, StartL), DeclContext(DK), redeclarable_base(C), in TagDecl()
|
D | DeclCXX.h | 3269 : public TypeDecl, 3284 : TypeDecl(UnresolvedUsingTypename, DC, TargetNameLoc, TargetName, in UnresolvedUsingTypenameDecl()
|
D | DeclTemplate.h | 1037 class TemplateTypeParmDecl : public TypeDecl { 1052 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 62 const ASTContext &Ctx, const TypeDecl *TD, 372 const TypeDecl *TD, in createNestedNameSpecifier()
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 80 bool VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|
/external/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 420 } else if (TypeDecl *Type = dyn_cast<TypeDecl>(DC)) { in FormatASTNodeDiagnosticArgument()
|
D | DeclTemplate.cpp | 501 return TypeDecl::getSourceRange(); in getSourceRange()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2457 const QualType TypeDecl = Node.getReceiverType(); in AST_MATCHER_P() local 2458 return InnerMatcher.matches(TypeDecl, Finder, Builder); in AST_MATCHER_P()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 271 void VisitTypeDecl(TypeDecl *TD); 470 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) { in Visit() 605 void ASTDeclReader::VisitTypeDecl(TypeDecl *TD) { in VisitTypeDecl()
|
D | ASTWriterDecl.cpp | 66 void VisitTypeDecl(TypeDecl *D); 355 void ASTDeclWriter::VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|