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.cpp429 switch (D->getTagKind()) { in VisitTagDecl()
441 switch (D->getTagKind()) { in VisitTagDecl()
453 switch (D->getTagKind()) { in VisitTagDecl()
/external/clang/include/clang/AST/
DDecl.h2910 return TypeWithKeyword::getTagTypeKindName(getTagKind()); in getKindName()
2913 TagKind getTagKind() const { in getTagKind() function
2919 bool isStruct() const { return getTagKind() == TTK_Struct; } in isStruct()
2920 bool isInterface() const { return getTagKind() == TTK_Interface; } in isInterface()
2921 bool isClass() const { return getTagKind() == TTK_Class; } in isClass()
2922 bool isUnion() const { return getTagKind() == TTK_Union; } in isUnion()
2923 bool isEnum() const { return getTagKind() == TTK_Enum; } in isEnum()
/external/clang/lib/AST/
DDeclCXX.cpp422 (!isa<TagDecl>(D) || cast<TagDecl>(D)->getTagKind() == TTK_Class || in addedMember()
423 cast<TagDecl>(D)->getTagKind() == TTK_Interface)) in addedMember()
970 if (getTagKind() == TTK_Class || getTagKind() == TTK_Interface || in isCLike()
DRecordLayoutBuilder.cpp1956 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
1963 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
DASTImporter.cpp1000 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
2651 D->getTagKind(), in VisitRecordDecl()
2657 D2 = RecordDecl::Create(Importer.getToContext(), D->getTagKind(), in VisitRecordDecl()
4244 DTemplated->getTagKind(), in VisitClassTemplateDecl()
4343 D->getTagKind(), DC, in VisitClassTemplateSpecializationDecl()
DMicrosoftMangle.cpp1995 switch (TD->getTagKind()) { in mangleType()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2576 return (TagX->getTagKind() == TagY->getTagKind()) || in isSameEntity()
2577 ((TagX->getTagKind() == TTK_Struct || TagX->getTagKind() == TTK_Class || in isSameEntity()
2578 TagX->getTagKind() == TTK_Interface) && in isSameEntity()
2579 (TagY->getTagKind() == TTK_Struct || TagY->getTagKind() == TTK_Class || in isSameEntity()
2580 TagY->getTagKind() == TTK_Interface)); in isSameEntity()
DASTWriterDecl.cpp370 Record.push_back((unsigned)D->getTagKind()); // FIXME: stable encoding in VisitTagDecl()
DASTWriter.cpp4638 Record.push_back(RD->getTagKind()); in WriteDeclUpdatesBlocks()
/external/clang/include/clang/Analysis/
DProgramPoint.h657 const void *getTagKind() { return TagKind; } in getTagKind() function
/external/clang/lib/Sema/
DSemaDecl.cpp513 switch (TD->getTagKind()) { in isTagName()
674 switch (Tag->getTagKind()) { in isTagTypeWithMissingTag()
3874 << Tag->getTagKind() in ParsedFreeStandingDeclSpec()
11671 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration()
11701 if (I->getTagKind() != NewTag) { in isAcceptableTagRedeclaration()
11706 << getRedeclDiagFromTagKind(I->getTagKind()); in isAcceptableTagRedeclaration()
11722 if (Redecl->getTagKind() == NewTag) { in isAcceptableTagRedeclaration()
11734 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration()
11736 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration()
12223 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag()
[all …]
DSemaTemplateInstantiateDecl.cpp997 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl()
1050 = CXXRecordDecl::Create(SemaRef.Context, Pattern->getTagKind(), DC, in VisitClassTemplateDecl()
1282 = CXXRecordDecl::Create(SemaRef.Context, D->getTagKind(), Owner, in VisitCXXRecordDecl()
2578 D->getTagKind(), in VisitClassTemplateSpecializationDecl()
2877 PartialSpec->getTagKind(), in InstantiateClassTemplatePartialSpecialization()
DSemaCodeComplete.cpp1118 return RD->getTagKind() == TTK_Class || in IsClassOrStruct()
1119 RD->getTagKind() == TTK_Struct || in IsClassOrStruct()
1120 RD->getTagKind() == TTK_Interface; in IsClassOrStruct()
1132 return RD->getTagKind() == TTK_Union; in IsUnion()
1484 switch (Tag->getTagKind()) { in GetCompletionTypeString()
3075 switch (TD->getTagKind()) { in getCursorKindForDecl()
DSemaTemplate.cpp1018 Kind = PrevRecordDecl->getTagKind(); in CheckClassTemplate()
2210 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType()
6247 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnClassTemplateSpecialization()
7283 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnExplicitInstantiation()
DSemaDeclCXX.cpp814 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDecl()
1395 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier()
1469 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier()
1611 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getName() in AttachBaseSpecifiers()
4914 << Record->getTagKind() << Record; in CheckCompletedCXXClass()
12211 << (unsigned) RD->getTagKind() in CheckFriendTypeDecl()
DSemaType.cpp2633 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { in GetDeclSpecTypeForDeclarator()
3146 if (recordDecl->getTagKind() == TTK_Struct && numNormalPointers > 0) { in classifyPointerDeclarator()
6796 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
DSemaTemplateInstantiate.cpp1975 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
DSemaDeclAttr.cpp165 if (RD->getTagKind() != TTK_Struct) in isCFStringType()