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.cpp2054 TT = Arena.alloc<TagTypeNode>(TagKind::Union); in demangleClassType()
2057 TT = Arena.alloc<TagTypeNode>(TagKind::Struct); in demangleClassType()
2060 TT = Arena.alloc<TagTypeNode>(TagKind::Class); in demangleClassType()
2067 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.h774 DataTag(void *TagKind) : ProgramPointTag(TagKind) {} in DataTag() argument
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h3562 using TagKind = TagTypeKind;
3588 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3752 TagKind getTagKind() const { in getTagKind()
3753 return static_cast<TagKind>(TagDeclBits.TagDeclKind); in getTagKind()
3756 void setTagKind(TagKind TK) { in setTagKind()
4149 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
4154 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DDeclTemplate.h1844 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1858 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
2087 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc,
2103 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
H A DASTContext.h1251 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/AST/
H A DDeclTemplate.cpp921 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, in ClassTemplateSpecializationDecl()
941 ClassTemplateSpecializationDecl::Create(ASTContext &Context, TagKind TK, in Create()
1132 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, in ClassTemplatePartialSpecializationDecl()
1146 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, in Create()
H A DDeclCXX.cpp124 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, in CXXRecordDecl()
132 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK, in Create()
H A DDecl.cpp4691 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl()
4984 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C, in RecordDecl()
5007 RecordDecl *RecordDecl::Create(const ASTContext &C, TagKind TK, DeclContext *DC, in Create()
H A DASTContext.cpp1174 RecordDecl::TagKind TK) const { in buildImplicitRecord()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp65 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::Class, HLSLNamespace, in BuiltinTypeDeclBuilder()
H A DSemaTemplate.cpp3683 TagTypeKind TagKind = TypeWithKeyword::getTagTypeKindForTypeSpec(TagSpec); in ActOnTagTemplateIdType() local
3685 = TypeWithKeyword::getKeywordForTagTypeKind(TagKind); in ActOnTagTemplateIdType()
3715 << TAT << NTK_TypeAliasTemplate << llvm::to_underlying(TagKind); in ActOnTagTemplateIdType()
3730 if (!isAcceptableTagRedeclaration(D, TagKind, TUK == TagUseKind::Definition, in ActOnTagTemplateIdType()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp3074 tok::TokenKind TagKind = tok::unknown; in ParseImplicitInt() local
3079 TagName="enum" ; FixitTagName = "enum " ; TagKind=tok::kw_enum ;break; in ParseImplicitInt()
3081 TagName="union" ; FixitTagName = "union " ;TagKind=tok::kw_union ;break; in ParseImplicitInt()
3083 TagName="struct"; FixitTagName = "struct ";TagKind=tok::kw_struct;break; in ParseImplicitInt()
3086 TagKind=tok::kw___interface;break; in ParseImplicitInt()
3088 TagName="class" ; FixitTagName = "class " ;TagKind=tok::kw_class ;break; in ParseImplicitInt()
3108 if (TagKind == tok::kw_enum) in ParseImplicitInt()
3112 ParseClassSpecifier(TagKind, Loc, DS, TemplateInfo, AS, in ParseImplicitInt()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp769 "_openmp_teams_reduction_type_$_", RecordDecl::TagKind::Union); in emitKernelDeinit()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1245 decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateRecordType()
1580 template_cxx_decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateDecl()
1660 static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateSpecializationDecl()