Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp535 OUTPUT_ENUM_CLASS_VALUE(TagKind, Class, "class"); in outputPre()
536 OUTPUT_ENUM_CLASS_VALUE(TagKind, Struct, "struct"); in outputPre()
537 OUTPUT_ENUM_CLASS_VALUE(TagKind, Union, "union"); in outputPre()
538 OUTPUT_ENUM_CLASS_VALUE(TagKind, Enum, "enum"); in outputPre()
H A DMicrosoftDemangle.cpp2041 TT = Arena.alloc<TagTypeNode>(TagKind::Union); in demangleClassType()
2044 TT = Arena.alloc<TagTypeNode>(TagKind::Struct); in demangleClassType()
2047 TT = Arena.alloc<TagTypeNode>(TagKind::Class); in demangleClassType()
2054 TT = Arena.alloc<TagTypeNode>(TagKind::Enum); in demangleClassType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h223 enum class TagKind { Class, Struct, Union, Enum }; enum
474 explicit TagTypeNode(TagKind Tag) : TypeNode(NodeKind::TagType), Tag(Tag) {} in TagTypeNode()
480 TagKind Tag;
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h40 ProgramPointTag(void *tagKind = nullptr) : TagKind(tagKind) {} in TagKind() function
45 const void *getTagKind() const { return TagKind; } in getTagKind()
48 const void *const TagKind;
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h762 DataTag(void *TagKind) : ProgramPointTag(TagKind) {} in DataTag() argument
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp908 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, in ClassTemplateSpecializationDecl()
928 ClassTemplateSpecializationDecl::Create(ASTContext &Context, TagKind TK, in Create()
1094 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, in ClassTemplatePartialSpecializationDecl()
1115 Create(ASTContext &Context, TagKind TK,DeclContext *DC, in Create()
H A DDeclCXX.cpp123 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, in CXXRecordDecl()
131 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK, in Create()
H A DDecl.cpp4643 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl()
4936 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C, in RecordDecl()
4959 RecordDecl *RecordDecl::Create(const ASTContext &C, TagKind TK, DeclContext *DC, in Create()
H A DASTContext.cpp1144 RecordDecl::TagKind TK) const { in buildImplicitRecord()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h3546 using TagKind = TagTypeKind;
3572 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3736 TagKind getTagKind() const { in getTagKind()
3737 return static_cast<TagKind>(TagDeclBits.TagDeclKind); in getTagKind()
3740 void setTagKind(TagKind TK) { in setTagKind()
4133 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
4138 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DDeclTemplate.h1843 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1857 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
2084 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK,
2105 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
H A DASTContext.h1206 RecordDecl::TagKind TK = RecordDecl::TagKind::Struct) const;
H A DDeclCXX.h512 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
573 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp65 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::Class, HLSLNamespace, in BuiltinTypeDeclBuilder()
H A DSemaTemplate.cpp4373 TagTypeKind TagKind = TypeWithKeyword::getTagTypeKindForTypeSpec(TagSpec); in ActOnTagTemplateIdType() local
4375 = TypeWithKeyword::getKeywordForTagTypeKind(TagKind); in ActOnTagTemplateIdType()
4405 << TAT << NTK_TypeAliasTemplate << llvm::to_underlying(TagKind); in ActOnTagTemplateIdType()
4420 if (!isAcceptableTagRedeclaration(D, TagKind, TUK == TUK_Definition, in ActOnTagTemplateIdType()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp2882 tok::TokenKind TagKind = tok::unknown; in ParseImplicitInt() local
2887 TagName="enum" ; FixitTagName = "enum " ; TagKind=tok::kw_enum ;break; in ParseImplicitInt()
2889 TagName="union" ; FixitTagName = "union " ;TagKind=tok::kw_union ;break; in ParseImplicitInt()
2891 TagName="struct"; FixitTagName = "struct ";TagKind=tok::kw_struct;break; in ParseImplicitInt()
2894 TagKind=tok::kw___interface;break; in ParseImplicitInt()
2896 TagName="class" ; FixitTagName = "class " ;TagKind=tok::kw_class ;break; in ParseImplicitInt()
2916 if (TagKind == tok::kw_enum) in ParseImplicitInt()
2920 ParseClassSpecifier(TagKind, Loc, DS, TemplateInfo, AS, in ParseImplicitInt()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1297 decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateRecordType()
1631 template_cxx_decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateDecl()
1709 static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateSpecializationDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp789 "_openmp_teams_reduction_type_$_", RecordDecl::TagKind::Union); in emitKernelDeinit()