| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexCXX.cpp | 65 switch (PartialSpec->getTagKind()) { in clang_getTemplateCursorKind()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | NoUncountedMembersChecker.cpp | 104 const auto Kind = RD->getTagKind(); in shouldSkipDecl()
|
| H A D | RefCntblBaseVirtualDtorChecker.cpp | 116 const auto Kind = RD->getTagKind(); in shouldSkipDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DumpAST.cpp | 154 TypeWithKeyword::getTagTypeKindName(Record->getTagKind()))); in title()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | InsertionPoint.cpp | 87 AccessSpecifier Spec = (C.getTagKind() == TTK_Class ? AS_private : AS_public); in getAccessAtEnd()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 277 new_class_template->getTemplatedDecl()->getTagKind(), in tryInstantiateStdTemplate()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 512 switch (D->getTagKind()) { in VisitTagDecl() 524 switch (D->getTagKind()) { in VisitTagDecl() 536 switch (D->getTagKind()) { in VisitTagDecl()
|
| H A D | IndexSymbol.cpp | 108 switch (TD->getTagKind()) { in getSymbolInfo()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 3560 return TypeWithKeyword::getTagTypeKindName(getTagKind()); in getKindName() 3563 TagKind getTagKind() const { in getTagKind() function 3569 bool isStruct() const { return getTagKind() == TTK_Struct; } in isStruct() 3570 bool isInterface() const { return getTagKind() == TTK_Interface; } in isInterface() 3571 bool isClass() const { return getTagKind() == TTK_Class; } in isClass() 3572 bool isUnion() const { return getTagKind() == TTK_Union; } in isUnion() 3573 bool isEnum() const { return getTagKind() == TTK_Enum; } in isEnum()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 779 return T->getTagKind() == &Kind; in classof()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 698 (!isa<TagDecl>(D) || cast<TagDecl>(D)->getTagKind() == TTK_Class || in addedMember() 699 cast<TagDecl>(D)->getTagKind() == TTK_Interface)) in addedMember() 1485 if (getTagKind() == TTK_Class || getTagKind() == TTK_Interface || in isCLike()
|
| H A D | ASTContext.cpp | 6471 return (TagX->getTagKind() == TagY->getTagKind()) || in isSameEntity() 6472 ((TagX->getTagKind() == TTK_Struct || in isSameEntity() 6473 TagX->getTagKind() == TTK_Class || in isSameEntity() 6474 TagX->getTagKind() == TTK_Interface) && in isSameEntity() 6475 (TagY->getTagKind() == TTK_Struct || in isSameEntity() 6476 TagY->getTagKind() == TTK_Class || in isSameEntity() 6477 TagY->getTagKind() == TTK_Interface)); in isSameEntity()
|
| H A D | RecordLayoutBuilder.cpp | 2284 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding() 2291 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
|
| H A D | ASTStructuralEquivalence.cpp | 1429 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
|
| H A D | ASTImporter.cpp | 2927 D2CXX, D, Importer.getToContext(), D->getTagKind(), DC, in VisitRecordDecl() 2935 D->getTagKind(), DC, *BeginLocOrErr, Loc, in VisitRecordDecl() 3006 D->getTagKind(), DC, *BeginLocOrErr, Loc, in VisitRecordDecl() 5807 D2, D, Importer.getToContext(), D->getTagKind(), DC, in VisitClassTemplateSpecializationDecl() 5825 D2, D, Importer.getToContext(), D->getTagKind(), DC, in VisitClassTemplateSpecializationDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | ProgramPoint.h | 45 const void *getTagKind() const { return TagKind; } in getTagKind() function
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 641 switch (TD->getTagKind()) { in isTagName() 821 switch (Tag->getTagKind()) { in isTagTypeWithMissingTag() 5152 << Tag->getTagKind() in ParsedFreeStandingDeclSpec() 7444 << Name << AnonStruct->getTagKind(); in ActOnVariableDeclarator() 15976 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration() 16005 OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration() 16034 if (I->getTagKind() != NewTag) { in isAcceptableTagRedeclaration() 16043 << getRedeclDiagFromTagKind(I->getTagKind()); in isAcceptableTagRedeclaration() 16061 if (Redecl->getTagKind() != NewTag) { in isAcceptableTagRedeclaration() 16625 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1625 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl() 1648 SemaRef.Context, Pattern->getTagKind(), DC, Pattern->getBeginLoc(), in VisitClassTemplateDecl() 1889 Record = CXXRecordDecl::Create(SemaRef.Context, D->getTagKind(), Owner, in VisitCXXRecordDecl() 3744 SemaRef.Context, D->getTagKind(), Owner, D->getBeginLoc(), in VisitClassTemplateSpecializationDecl() 4158 SemaRef.Context, PartialSpec->getTagKind(), Owner, in InstantiateClassTemplatePartialSpecialization()
|
| H A D | SemaCodeComplete.cpp | 1491 return RD->getTagKind() == TTK_Class || RD->getTagKind() == TTK_Struct || in IsClassOrStruct() 1492 RD->getTagKind() == TTK_Interface; in IsClassOrStruct() 1504 return RD->getTagKind() == TTK_Union; in IsUnion() 1930 switch (Tag->getTagKind()) { in GetCompletionTypeString() 4058 switch (TD->getTagKind()) { in getCursorKindForDecl()
|
| H A D | SemaDeclCXX.cpp | 1753 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDefinition() 2505 if (getLangOpts().HLSL && Class->getTagKind() == TTK_Class && in CheckBaseSpecifier() 2559 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier() 2646 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier() 2782 << getRecordDiagFromTagKind(RD->getTagKind()) << RD in AttachBaseSpecifiers() 6764 << Record->getTagKind() << Record; in CheckCompletedCXXClass() 16678 << (unsigned) RD->getTagKind() in CheckFriendTypeDecl()
|
| H A D | SemaTemplate.cpp | 1907 Kind = PrevRecordDecl->getTagKind(); in CheckClassTemplate() 3872 Context, ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType() 8401 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnClassTemplateSpecialization() 9646 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnExplicitInstantiation()
|
| H A D | SemaType.cpp | 3510 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { in GetDeclSpecTypeForDeclarator() 4255 if (RD->getTagKind() == TTK_Struct) { in isCFError() 9042 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
|
| H A D | SemaTemplateInstantiate.cpp | 2739 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | Serialize.cpp | 526 I->TagType = D->getTagKind(); in emitInfo()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 414 Record.push_back((unsigned)D->getTagKind()); // FIXME: stable encoding in VisitTagDecl()
|