Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp1978 TT = Arena.alloc<TagTypeNode>(TagKind::Union); in demangleClassType()
1981 TT = Arena.alloc<TagTypeNode>(TagKind::Struct); in demangleClassType()
1984 TT = Arena.alloc<TagTypeNode>(TagKind::Class); in demangleClassType()
1991 TT = Arena.alloc<TagTypeNode>(TagKind::Enum); in demangleClassType()
/openbsd/gnu/llvm/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h224 enum class TagKind { Class, Struct, Union, Enum }; enum
475 explicit TagTypeNode(TagKind Tag) : TypeNode(NodeKind::TagType), Tag(Tag) {} in TagTypeNode()
481 TagKind Tag;
/openbsd/gnu/llvm/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;
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h758 DataTag(void *TagKind) : ProgramPointTag(TagKind) {} in DataTag() argument
/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclTemplate.cpp911 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, in ClassTemplateSpecializationDecl()
931 ClassTemplateSpecializationDecl::Create(ASTContext &Context, TagKind TK, in Create()
1097 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, in ClassTemplatePartialSpecializationDecl()
1118 Create(ASTContext &Context, TagKind TK,DeclContext *DC, in Create()
H A DDecl.cpp4401 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl()
4694 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C, in RecordDecl()
4717 RecordDecl *RecordDecl::Create(const ASTContext &C, 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 DASTContext.cpp1210 RecordDecl::TagKind TK) const { in buildImplicitRecord()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDecl.h3443 using TagKind = TagTypeKind;
3469 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3633 TagKind getTagKind() const { in getTagKind()
3634 return static_cast<TagKind>(TagDeclBits.TagDeclKind); in getTagKind()
3637 void setTagKind(TagKind TK) { TagDeclBits.TagDeclKind = TK; } in setTagKind()
4026 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
4031 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DDeclTemplate.h1874 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1888 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
2115 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK,
2136 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
H A DDeclCXX.h496 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
557 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DASTContext.h1190 RecordDecl::TagKind TK = TTK_Struct) const;
/openbsd/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp65 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::TTK_Class, in BuiltinTypeDeclBuilder()
H A DSemaTemplate.cpp4203 TagTypeKind TagKind = TypeWithKeyword::getTagTypeKindForTypeSpec(TagSpec); in ActOnTagTemplateIdType() local
4205 = TypeWithKeyword::getKeywordForTagTypeKind(TagKind); in ActOnTagTemplateIdType()
4235 << TAT << NTK_TypeAliasTemplate << TagKind; in ActOnTagTemplateIdType()
4250 if (!isAcceptableTagRedeclaration(D, TagKind, TUK == TUK_Definition, in ActOnTagTemplateIdType()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseDecl.cpp2738 tok::TokenKind TagKind = tok::unknown; in ParseImplicitInt() local
2743 TagName="enum" ; FixitTagName = "enum " ; TagKind=tok::kw_enum ;break; in ParseImplicitInt()
2745 TagName="union" ; FixitTagName = "union " ;TagKind=tok::kw_union ;break; in ParseImplicitInt()
2747 TagName="struct"; FixitTagName = "struct ";TagKind=tok::kw_struct;break; in ParseImplicitInt()
2750 TagKind=tok::kw___interface;break; in ParseImplicitInt()
2752 TagName="class" ; FixitTagName = "class " ;TagKind=tok::kw_class ;break; in ParseImplicitInt()
2772 if (TagKind == tok::kw_enum) in ParseImplicitInt()
2776 ParseClassSpecifier(TagKind, Loc, DS, TemplateInfo, AS, in ParseImplicitInt()
/openbsd/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1297 decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateRecordType()
1625 template_cxx_decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateDecl()
1702 static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateSpecializationDecl()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp3614 "_openmp_teams_reduction_type_$_", RecordDecl::TagKind::TTK_Union); in clear()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp731 TD->setTagKind((TagDecl::TagKind)Record.readInt()); in VisitTagDecl()