Searched refs:TypeDecl (Results 1 - 25 of 60) sorted by relevance

123

/openbsd-current/gnu/llvm/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp22 const NamedDecl *TypeDecl = nullptr; local
26 TypeDecl = TypedefTy->getDecl();
28 TypeDecl = TagTy->getDecl();
31 TypeDecl = ObjCITy->getDecl();
34 if (TypeDecl && TypedefTy) {
40 TypeDecl = TypedefDecl;
43 return TypeDecl;
51 const NamedDecl *TypeDecl = getUnderlyingTypeDecl(Type); local
54 if (TypeDecl) {
56 TypeName = TypeDecl
68 const NamedDecl *TypeDecl = getUnderlyingTypeDecl(Type); local
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.h20 class TypeDecl;
144 /// Given a TypeDecl, if it declares a type whose name starts with a dollar
146 void MaybeRecordPersistentType(clang::TypeDecl *D);
H A DClangPersistentVariables.cpp81 if (clang::TypeDecl *tdecl = llvm::dyn_cast<clang::TypeDecl>(p.m_decl)) {
H A DASTResultSynthesizer.cpp418 typedef DeclContext::specific_decl_iterator<TypeDecl> TypeDeclIterator;
427 void ASTResultSynthesizer::MaybeRecordPersistentType(TypeDecl *D) {
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXCursor.h42 class TypeDecl;
88 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
93 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
H A DCXType.cpp242 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D))
1140 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D))
H A DCXCursor.cpp928 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
936 std::pair<const TypeDecl *, SourceLocation>
939 return std::make_pair(static_cast<const TypeDecl *>(C.data[0]),
H A DCXIndexDataConsumer.cpp1208 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D))
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp339 if (!isa<TypeDecl>(SD))
344 QualType T = Context.getTypeDeclType(cast<TypeDecl>(SD));
697 (!isa<TypeDecl>(OuterDecl) || !isa<TypeDecl>(SD) ||
699 Context.getTypeDeclType(cast<TypeDecl>(OuterDecl)),
700 Context.getTypeDeclType(cast<TypeDecl>(SD))))) {
738 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl()));
777 llvm_unreachable("Unhandled TypeDecl node in nested-name-specifier");
831 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) {
[all...]
H A DSemaStmtAsm.cpp854 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl))
H A DSemaLookup.cpp389 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying));
536 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) {
2565 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) {
2832 else if (const auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl()))
5553 if (!isa<TypeDecl>(D))
5603 : isa<TypeDecl>(ND)) &&
H A DSemaDeclObjC.cpp1380 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) {
1501 } else if (!isa<TypeDecl>(decl)) {
1555 typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl;
1566 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) {
1592 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>())
1719 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) {
H A DSemaExprMember.cpp678 if (!isa<TypeDecl>(DC)) {
1171 if (isa<TypeDecl>(MemberDecl))
H A DSemaTemplate.cpp3252 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Record->getParent()))
3262 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext()))
3296 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Enum->getParent()))
5190 if (Result.getAsSingle<TypeDecl>() ||
11017 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) {
H A DSemaExprCXX.cpp191 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl());
228 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl()))
243 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) {
414 return isa<TypeDecl>(A->getUnderlyingDecl()) >
415 isa<TypeDecl>(B->getUnderlyingDecl());
437 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) {
454 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl()))
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DQualTypeNames.cpp46 const ASTContext &Ctx, const TypeDecl *TD,
358 const TypeDecl *TD,
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h396 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; }
1917 void setjmp_bufDecl(TypeDecl *jmp_bufDecl) {
1929 void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDec
[all...]
H A DDecl.h3246 class TypeDecl : public NamedDecl {
3250 /// this TypeDecl. It is a cache maintained by
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),
3436 class TagDecl : public TypeDecl,
H A DASTNodeTraverser.h642 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl()))
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DASTConsumers.cpp110 if (auto *TD = dyn_cast<TypeDecl>(InnerD))
/openbsd-current/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp230 Name, [](const NamedDecl *ND) { return isa<TypeDecl>(ND); });
H A DIndexDecl.cpp218 bool TypeOverride = isa<TypeDecl>(D);
228 } else if (!isa<TypeDecl>(ND))
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp78 bool VisitTypeDecl(TypeDecl *D) {
H A DCGDebugInfo.h339 void CollectRecordNestedType(const TypeDecl *RD,
/openbsd-current/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp433 if (isa<TypeDecl>(D))

Completed in 326 milliseconds

123