/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 298 if (!isa<TypeDecl>(SD)) in isAcceptableNestedNameSpecifier() 303 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in isAcceptableNestedNameSpecifier() 649 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) || in BuildCXXNestedNameSpecifier() 651 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)), in BuildCXXNestedNameSpecifier() 652 Context.getTypeDeclType(cast<TypeDecl>(SD))))) { in BuildCXXNestedNameSpecifier() 690 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD)); in BuildCXXNestedNameSpecifier() 777 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
|
D | SemaStmtAsm.cpp | 643 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField()
|
D | SemaCoroutine.cpp | 78 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
|
D | SemaLookup.cpp | 378 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult() 512 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) { in resolveKind() 1843 if (isa<VarDecl>(D) || isa<TypeDecl>(D) || isa<EnumConstantDecl>(D)) in HasOnlyStaticMembers() 4764 if (!isa<TypeDecl>(D)) in ValidateCandidate()
|
D | SemaDeclObjC.cpp | 1274 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() 1381 } else if (!isa<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1435 typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl; in actOnObjCTypeArgsOrProtocolQualifiers() 1446 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() 1472 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers() 1604 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
|
D | SemaTemplate.cpp | 1686 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Record->getParent())) in MatchTemplateParametersToScopeSpecifier() 1696 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) in MatchTemplateParametersToScopeSpecifier() 1730 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent())) in MatchTemplateParametersToScopeSpecifier() 3118 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument() 8214 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
|
D | SemaDecl.cpp | 77 bool IsType = isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in ValidateCandidate() 172 if (!isa<TypeDecl>(ND)) in lookupUnqualifiedTypeNameInBase() 386 if (isa<TypeDecl>(*Res) || isa<ObjCInterfaceDecl>(*Res)) { in getTypeName() 419 if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) { in getTypeName() 656 if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I)) in isResultTypeOrTemplate() 824 (isa<TypeDecl>(UnderlyingFirstDecl) || in ClassifyName() 972 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1015 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName() 1843 bool Sema::isIncompatibleTypedef(TypeDecl *Old, TypedefNameDecl *New) { in isIncompatibleTypedef() 1930 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl() [all …]
|
D | SemaExprMember.cpp | 637 if (!isa<TypeDecl>(DC)) { in LookupMemberExprInRecord() 1147 if (isa<TypeDecl>(MemberDecl)) in BuildMemberReferenceExpr()
|
D | SemaCodeComplete.cpp | 656 if (const TypeDecl *Type = dyn_cast<TypeDecl>(ND)) in getDeclUsageType() 737 if ((isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND)) && in getBasePriority() 1056 if (isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND)) in IsOrdinaryNonTypeName() 1153 return isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND); in IsType() 2080 T = Context.getTypeDeclType(cast<TypeDecl>(Enumerator->getDeclContext())); in AddResultTypeChunk() 5501 } else if (TypeDecl *TD = dyn_cast_or_null<TypeDecl>(ND)) { in CodeCompleteObjCSuperMessage()
|
D | SemaDeclCXX.cpp | 2832 return isa<TypeDecl>(ND); in ValidateCandidate() 2914 TypeDecl *TyD = R.getAsSingle<TypeDecl>(); in BuildMemInitializer() 2956 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer() 8015 if (isa<TypeDecl>(ND)) in ValidateCandidate() 8196 if (!R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration() 8207 if (IsInstantiation && R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration() 8365 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 | 164 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getCursorType() 899 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in clang_getDeclObjCTypeEncoding()
|
D | CXCursor.cpp | 678 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef() 686 std::pair<const TypeDecl *, SourceLocation> 689 return std::make_pair(static_cast<const TypeDecl *>(C.data[0]), in getCursorTypeRef()
|
D | IndexingContext.cpp | 1129 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D)) in getRefCursor()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 214 mutable TypeDecl *Float128StubDecl; 264 TypeDecl *FILEDecl; 267 TypeDecl *jmp_bufDecl; 270 TypeDecl *sigjmp_bufDecl; 273 TypeDecl *ucontext_tDecl; 968 TypeDecl *getFloat128StubType() const; 978 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; 1186 QualType getTypeDeclType(const TypeDecl *Decl, 1187 const TypeDecl *PrevDecl = nullptr) const { 1473 void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; } in setFILEDecl() [all …]
|
D | Decl.h | 2552 class TypeDecl : public NamedDecl { 2564 TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, 2592 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> { 2601 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() 2711 : public TypeDecl, public DeclContext, public Redeclarable<TagDecl> { 2793 : TypeDecl(DK, DC, L, Id, StartL), DeclContext(DK), redeclarable_base(C), in TagDecl()
|
D | DeclCXX.h | 3091 : public TypeDecl, 3106 : TypeDecl(UnresolvedUsingTypename, DC, TargetNameLoc, TargetName, in UnresolvedUsingTypenameDecl()
|
D | DeclTemplate.h | 1032 class TemplateTypeParmDecl : public TypeDecl { 1047 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 77 bool VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2164 const QualType TypeDecl = Node.getReceiverType(); in AST_MATCHER_P() local 2165 return InnerMatcher.matches(TypeDecl, Finder, Builder); in AST_MATCHER_P()
|
/external/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 419 } else if (TypeDecl *Type = dyn_cast<TypeDecl>(DC)) { in FormatASTNodeDiagnosticArgument()
|
D | DeclTemplate.cpp | 520 return TypeDecl::getSourceRange(); in getSourceRange()
|
D | Decl.cpp | 165 return isa<TypeDecl>(D) || in usesTypeVisibility() 3932 void TypeDecl::anchor() { } in anchor()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 247 void VisitTypeDecl(TypeDecl *TD); 438 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) { in Visit() 550 void ASTDeclReader::VisitTypeDecl(TypeDecl *TD) { in VisitTypeDecl()
|
D | ASTWriterDecl.cpp | 58 void VisitTypeDecl(TypeDecl *D); 329 void ASTDeclWriter::VisitTypeDecl(TypeDecl *D) { in VisitTypeDecl()
|