Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp540 OUTPUT_ENUM_CLASS_VALUE(TagKind, Class, "class"); in outputPre()
541 OUTPUT_ENUM_CLASS_VALUE(TagKind, Struct, "struct"); in outputPre()
542 OUTPUT_ENUM_CLASS_VALUE(TagKind, Union, "union"); in outputPre()
543 OUTPUT_ENUM_CLASS_VALUE(TagKind, Enum, "enum"); in outputPre()
H A DMicrosoftDemangle.cpp2064 TT = Arena.alloc<TagTypeNode>(TagKind::Union); in demangleClassType()
2067 TT = Arena.alloc<TagTypeNode>(TagKind::Struct); in demangleClassType()
2070 TT = Arena.alloc<TagTypeNode>(TagKind::Class); in demangleClassType()
2077 TT = Arena.alloc<TagTypeNode>(TagKind::Enum); in demangleClassType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h225 enum class TagKind { Class, Struct, Union, Enum }; enum
554 explicit TagTypeNode(TagKind Tag) : TypeNode(NodeKind::TagType), Tag(Tag) {} in TagTypeNode()
562 TagKind Tag;
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h40 ProgramPointTag(void *tagKind = nullptr) : TagKind(tagKind) {} in TagKind() function
48 const void *getTagKind() const { return TagKind; } in getTagKind()
51 const void *const TagKind;
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h779 DataTag(void *TagKind) : ProgramPointTag(TagKind) {} in DataTag() argument
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp970 ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, in ClassTemplateSpecializationDecl()
989 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, in Create()
1175 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, in ClassTemplatePartialSpecializationDecl()
1191 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, in Create()
H A DDecl.cpp4802 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl()
5095 RecordDecl::RecordDecl(Kind DK, TagKind TK, const ASTContext &C, in RecordDecl()
5119 RecordDecl *RecordDecl::Create(const ASTContext &C, TagKind TK, DeclContext *DC, 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 DASTContext.cpp1231 RecordDecl::TagKind TK) const { in buildImplicitRecord()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h3680 using TagKind = TagTypeKind;
3706 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3870 TagKind getTagKind() const { in getTagKind()
3871 return static_cast<TagKind>(TagDeclBits.TagDeclKind); in getTagKind()
3874 void setTagKind(TagKind TK) { in setTagKind()
4267 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
4272 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
H A DDeclTemplate.h1857 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1872 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
2109 ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc,
2125 Create(ASTContext &Context, TagKind TK, DeclContext *DC,
H A DASTContext.h1353 RecordDecl::TagKind TK = RecordDecl::TagKind::Struct) const;
H A DDeclCXX.h511 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
571 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp2873 tok::TokenKind TagKind = tok::unknown; in ParseImplicitInt() local
2878 TagName="enum" ; FixitTagName = "enum " ; TagKind=tok::kw_enum ;break; in ParseImplicitInt()
2880 TagName="union" ; FixitTagName = "union " ;TagKind=tok::kw_union ;break; in ParseImplicitInt()
2882 TagName="struct"; FixitTagName = "struct ";TagKind=tok::kw_struct;break; in ParseImplicitInt()
2885 TagKind=tok::kw___interface;break; in ParseImplicitInt()
2887 TagName="class" ; FixitTagName = "class " ;TagKind=tok::kw_class ;break; in ParseImplicitInt()
2907 if (TagKind == tok::kw_enum) in ParseImplicitInt()
2911 ParseClassSpecifier(TagKind, Loc, DS, TemplateInfo, AS, in ParseImplicitInt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLBuiltinTypeDeclBuilder.cpp556 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::Class, HLSLNamespace, in BuiltinTypeDeclBuilder()
H A DSemaOpenACCClause.cpp1145 ExprResult DiagIntArgInvalid(SemaOpenACC &S, Expr *E, StringRef TagKind, in DiagIntArgInvalid() argument
1149 << TagKind << CK << IsOrphanLoop(DK, AssocKind) << DK in DiagIntArgInvalid()
H A DSemaHLSL.cpp495 CXXRecordDecl::Create(AST, TagDecl::TagKind::Struct, DC, SourceLocation(), in createHostLayoutStruct()
551 CXXRecordDecl::Create(AST, TagDecl::TagKind::Struct, BufDecl, in createHostLayoutStructForBuffer()
H A DSemaTemplate.cpp3968 TagTypeKind TagKind = TypeWithKeyword::getTagTypeKindForTypeSpec(TagSpec); in ActOnTagTemplateIdType() local
3970 = TypeWithKeyword::getKeywordForTagTypeKind(TagKind); in ActOnTagTemplateIdType()
3999 << TAT << NonTagKind::TypeAliasTemplate << TagKind; in ActOnTagTemplateIdType()
4014 if (!isAcceptableTagRedeclaration(D, TagKind, TUK == TagUseKind::Definition, in ActOnTagTemplateIdType()
/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.cpp1268 decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateRecordType()
1594 template_cxx_decl->setTagKind(static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateDecl()
1674 static_cast<TagDecl::TagKind>(kind)); in CreateClassTemplateSpecializationDecl()