Home
last modified time | relevance | path

Searched refs:TagKind (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp518 OUTPUT_ENUM_CLASS_VALUE(TagKind, Class, "class"); in outputPre()
519 OUTPUT_ENUM_CLASS_VALUE(TagKind, Struct, "struct"); in outputPre()
520 OUTPUT_ENUM_CLASS_VALUE(TagKind, Union, "union"); in outputPre()
521 OUTPUT_ENUM_CLASS_VALUE(TagKind, Enum, "enum"); in outputPre()
H A DMicrosoftDemangle.cpp1840 TT = Arena.alloc<TagTypeNode>(TagKind::Union); in demangleClassType()
1843 TT = Arena.alloc<TagTypeNode>(TagKind::Struct); in demangleClassType()
1846 TT = Arena.alloc<TagTypeNode>(TagKind::Class); in demangleClassType()
1853 TT = Arena.alloc<TagTypeNode>(TagKind::Enum); in demangleClassType()
/freebsd-12.1/contrib/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h197 enum class TagKind { Class, Struct, Union, Enum }; enum
451 explicit TagTypeNode(TagKind Tag) : TypeNode(NodeKind::TagType), Tag(Tag) {} in TagTypeNode()
457 TagKind Tag;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/
H A DProgramPoint.h42 ProgramPointTag(void *tagKind = nullptr) : TagKind(tagKind) {} in TagKind() function
48 const void *getTagKind() { return TagKind; } in getTagKind()
51 const void *TagKind;
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclTemplate.cpp720 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, in ClassTemplateSpecializationDecl()
740 ClassTemplateSpecializationDecl::Create(ASTContext &Context, TagKind TK, in Create()
833 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, in ClassTemplatePartialSpecializationDecl()
853 Create(ASTContext &Context, TagKind TK,DeclContext *DC, in Create()
H A DDeclCXX.cpp116 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, in CXXRecordDecl()
124 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK, in Create()
H A DDecl.cpp3840 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl()
4089 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C, in RecordDecl()
4107 RecordDecl *RecordDecl::Create(const ASTContext &C, TagKind TK, DeclContext *DC, in Create()
H A DASTContext.cpp1103 RecordDecl::TagKind TK) const { in buildImplicitRecord()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h3071 using TagKind = TagTypeKind;
3097 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3243 TagKind getTagKind() const { in getTagKind()
3244 return static_cast<TagKind>(TagDeclBits.TagDeclKind); in getTagKind()
3247 void setTagKind(TagKind TK) { TagDeclBits.TagDeclKind = TK; } in setTagKind()
3622 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3627 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DDeclTemplate.h1696 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1710 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
1915 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK,
1936 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
H A DDeclCXX.h717 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
778 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DASTContext.h1109 RecordDecl::TagKind TK = TTK_Struct) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDecl.cpp2537 tok::TokenKind TagKind = tok::unknown; in ParseImplicitInt() local
2542 TagName="enum" ; FixitTagName = "enum " ; TagKind=tok::kw_enum ;break; in ParseImplicitInt()
2544 TagName="union" ; FixitTagName = "union " ;TagKind=tok::kw_union ;break; in ParseImplicitInt()
2546 TagName="struct"; FixitTagName = "struct ";TagKind=tok::kw_struct;break; in ParseImplicitInt()
2549 TagKind=tok::kw___interface;break; in ParseImplicitInt()
2551 TagName="class" ; FixitTagName = "class " ;TagKind=tok::kw_class ;break; in ParseImplicitInt()
2571 if (TagKind == tok::kw_enum) in ParseImplicitInt()
2575 ParseClassSpecifier(TagKind, Loc, DS, TemplateInfo, AS, in ParseImplicitInt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp3447 TagTypeKind TagKind = TypeWithKeyword::getTagTypeKindForTypeSpec(TagSpec); in ActOnTagTemplateIdType() local
3449 = TypeWithKeyword::getKeywordForTagTypeKind(TagKind); in ActOnTagTemplateIdType()
3479 << TAT << NTK_TypeAliasTemplate << TagKind; in ActOnTagTemplateIdType()
3494 if (!isAcceptableTagRedeclaration(D, TagKind, TUK == TUK_Definition, in ActOnTagTemplateIdType()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp1497 *ast, (TagDecl::TagKind)kind, decl_ctx, SourceLocation(), in CreateRecordType()
1641 *ast, (TagDecl::TagKind)kind, in CreateClassTemplateDecl()
1719 *ast, (TagDecl::TagKind)kind, decl_ctx, SourceLocation(), in CreateClassTemplateSpecializationDecl()
2610 tag_decl->setTagKind((clang::TagDecl::TagKind)kind); in SetTagTypeKind()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp4503 "_openmp_static_memory_type_$_", RecordDecl::TagKind::TTK_Union); in clear()
4506 "_shared_openmp_static_memory_type_$_", RecordDecl::TagKind::TTK_Union); in clear()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp704 TD->setTagKind((TagDecl::TagKind)Record.readInt()); in VisitTagDecl()