Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndexCXX.cpp68 switch (PartialSpec->getTagKind()) { in clang_getTemplateCursorKind()
DIndexingContext.cpp935 switch (TD->getTagKind()) { in getEntityInfo()
/external/clang/lib/Index/
DUSRGeneration.cpp431 switch (D->getTagKind()) { in VisitTagDecl()
443 switch (D->getTagKind()) { in VisitTagDecl()
455 switch (D->getTagKind()) { in VisitTagDecl()
/external/clang/include/clang/AST/
DDecl.h2848 return TypeWithKeyword::getTagTypeKindName(getTagKind()); in getKindName()
2851 TagKind getTagKind() const { in getTagKind() function
2857 bool isStruct() const { return getTagKind() == TTK_Struct; } in isStruct()
2858 bool isInterface() const { return getTagKind() == TTK_Interface; } in isInterface()
2859 bool isClass() const { return getTagKind() == TTK_Class; } in isClass()
2860 bool isUnion() const { return getTagKind() == TTK_Union; } in isUnion()
2861 bool isEnum() const { return getTagKind() == TTK_Enum; } in isEnum()
/external/clang/lib/AST/
DDeclCXX.cpp428 (!isa<TagDecl>(D) || cast<TagDecl>(D)->getTagKind() == TTK_Class || in addedMember()
429 cast<TagDecl>(D)->getTagKind() == TTK_Interface)) in addedMember()
976 if (getTagKind() == TTK_Class || getTagKind() == TTK_Interface || in isCLike()
DASTImporter.cpp957 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
2587 D->getTagKind(), in VisitRecordDecl()
2593 D2 = RecordDecl::Create(Importer.getToContext(), D->getTagKind(), in VisitRecordDecl()
4069 DTemplated->getTagKind(), in VisitClassTemplateDecl()
4168 D->getTagKind(), DC, in VisitClassTemplateSpecializationDecl()
DRecordLayoutBuilder.cpp1945 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
1952 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
DMicrosoftMangle.cpp1819 switch (TD->getTagKind()) { in mangleType()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2498 return (TagX->getTagKind() == TagY->getTagKind()) || in isSameEntity()
2499 ((TagX->getTagKind() == TTK_Struct || TagX->getTagKind() == TTK_Class || in isSameEntity()
2500 TagX->getTagKind() == TTK_Interface) && in isSameEntity()
2501 (TagY->getTagKind() == TTK_Struct || TagY->getTagKind() == TTK_Class || in isSameEntity()
2502 TagY->getTagKind() == TTK_Interface)); in isSameEntity()
DASTWriterDecl.cpp306 Record.push_back((unsigned)D->getTagKind()); // FIXME: stable encoding in VisitTagDecl()
DASTWriter.cpp4803 Record.push_back(RD->getTagKind()); in WriteDeclUpdatesBlocks()
/external/clang/lib/Sema/
DSemaDecl.cpp514 switch (TD->getTagKind()) { in isTagName()
675 switch (Tag->getTagKind()) { in isTagTypeWithMissingTag()
3691 << Tag->getTagKind() in ParsedFreeStandingDeclSpec()
11149 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration()
11179 if (I->getTagKind() != NewTag) { in isAcceptableTagRedeclaration()
11184 << getRedeclDiagFromTagKind(I->getTagKind()); in isAcceptableTagRedeclaration()
11200 if (Redecl->getTagKind() == NewTag) { in isAcceptableTagRedeclaration()
11212 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration()
11214 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration()
11638 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag()
[all …]
DSemaTemplateInstantiateDecl.cpp951 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl()
1004 = CXXRecordDecl::Create(SemaRef.Context, Pattern->getTagKind(), DC, in VisitClassTemplateDecl()
1235 = CXXRecordDecl::Create(SemaRef.Context, D->getTagKind(), Owner, in VisitCXXRecordDecl()
2514 D->getTagKind(), in VisitClassTemplateSpecializationDecl()
2814 PartialSpec->getTagKind(), in InstantiateClassTemplatePartialSpecialization()
DSemaCodeComplete.cpp1120 return RD->getTagKind() == TTK_Class || in IsClassOrStruct()
1121 RD->getTagKind() == TTK_Struct || in IsClassOrStruct()
1122 RD->getTagKind() == TTK_Interface; in IsClassOrStruct()
1134 return RD->getTagKind() == TTK_Union; in IsUnion()
1481 switch (Tag->getTagKind()) { in GetCompletionTypeString()
3016 switch (TD->getTagKind()) { in getCursorKindForDecl()
DSemaTemplate.cpp992 Kind = PrevRecordDecl->getTagKind(); in CheckClassTemplate()
2146 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType()
6165 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnClassTemplateSpecialization()
7194 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnExplicitInstantiation()
DSemaDeclCXX.cpp792 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDecl()
1423 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier()
1497 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier()
1639 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getName() in AttachBaseSpecifiers()
4878 << Record->getTagKind() << Record; in CheckCompletedCXXClass()
12170 << (unsigned) RD->getTagKind() in CheckFriendTypeDecl()
DSemaType.cpp2206 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { in GetDeclSpecTypeForDeclarator()
5417 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
DSemaTemplateInstantiate.cpp1976 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
DSemaDeclAttr.cpp164 if (RD->getTagKind() != TTK_Struct) in isCFStringType()
/external/clang/include/clang/Analysis/
DProgramPoint.h657 const void *getTagKind() { return TagKind; } in getTagKind() function