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.cpp415 switch (D->getTagKind()) { in VisitTagDecl()
427 switch (D->getTagKind()) { in VisitTagDecl()
439 switch (D->getTagKind()) { in VisitTagDecl()
/external/clang/include/clang/AST/
DDecl.h2713 return TypeWithKeyword::getTagTypeKindName(getTagKind()); in getKindName()
2716 TagKind getTagKind() const { in getTagKind() function
2722 bool isStruct() const { return getTagKind() == TTK_Struct; } in isStruct()
2723 bool isInterface() const { return getTagKind() == TTK_Interface; } in isInterface()
2724 bool isClass() const { return getTagKind() == TTK_Class; } in isClass()
2725 bool isUnion() const { return getTagKind() == TTK_Union; } in isUnion()
2726 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()
969 if (getTagKind() == TTK_Class || getTagKind() == TTK_Interface || in isCLike()
DASTImporter.cpp955 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
2564 D->getTagKind(), in VisitRecordDecl()
2570 D2 = RecordDecl::Create(Importer.getToContext(), D->getTagKind(), in VisitRecordDecl()
4012 DTemplated->getTagKind(), in VisitClassTemplateDecl()
4111 D->getTagKind(), DC, in VisitClassTemplateSpecializationDecl()
DRecordLayoutBuilder.cpp1915 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
1922 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
DMicrosoftMangle.cpp1725 switch (TD->getTagKind()) { in mangleType()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2308 return (TagX->getTagKind() == TagY->getTagKind()) || in isSameEntity()
2309 ((TagX->getTagKind() == TTK_Struct || TagX->getTagKind() == TTK_Class || in isSameEntity()
2310 TagX->getTagKind() == TTK_Interface) && in isSameEntity()
2311 (TagY->getTagKind() == TTK_Struct || TagY->getTagKind() == TTK_Class || in isSameEntity()
2312 TagY->getTagKind() == TTK_Interface)); in isSameEntity()
DASTWriterDecl.cpp249 Record.push_back((unsigned)D->getTagKind()); // FIXME: stable encoding in VisitTagDecl()
DASTWriter.cpp4559 Record.push_back(RD->getTagKind()); in WriteDeclUpdatesBlocks()
/external/clang/lib/Sema/
DSemaDecl.cpp469 switch (TD->getTagKind()) { in isTagName()
626 switch (Tag->getTagKind()) { in isTagTypeWithMissingTag()
3452 << Tag->getTagKind() in ParsedFreeStandingDeclSpec()
10648 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration()
10678 if (I->getTagKind() != NewTag) { in isAcceptableTagRedeclaration()
10683 << getRedeclDiagFromTagKind(I->getTagKind()); in isAcceptableTagRedeclaration()
10699 if (Redecl->getTagKind() == NewTag) { in isAcceptableTagRedeclaration()
10711 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration()
10713 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration()
11075 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag()
[all …]
DSemaTemplateInstantiateDecl.cpp866 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl()
919 = CXXRecordDecl::Create(SemaRef.Context, Pattern->getTagKind(), DC, in VisitClassTemplateDecl()
1150 = CXXRecordDecl::Create(SemaRef.Context, D->getTagKind(), Owner, in VisitCXXRecordDecl()
2423 D->getTagKind(), in VisitClassTemplateSpecializationDecl()
2723 PartialSpec->getTagKind(), in InstantiateClassTemplatePartialSpecialization()
DSemaCodeComplete.cpp1121 return RD->getTagKind() == TTK_Class || in IsClassOrStruct()
1122 RD->getTagKind() == TTK_Struct || in IsClassOrStruct()
1123 RD->getTagKind() == TTK_Interface; in IsClassOrStruct()
1135 return RD->getTagKind() == TTK_Union; in IsUnion()
1482 switch (Tag->getTagKind()) { in GetCompletionTypeString()
2969 switch (TD->getTagKind()) { in getCursorKindForDecl()
DSemaTemplate.cpp993 Kind = PrevRecordDecl->getTagKind(); in CheckClassTemplate()
2128 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType()
6042 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnClassTemplateSpecialization()
7073 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnExplicitInstantiation()
DSemaDeclCXX.cpp768 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDecl()
1399 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier()
1473 Class->getTagKind() == TTK_Class, in CheckBaseSpecifier()
1581 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getName() in AttachBaseSpecifiers()
4510 << Record->getTagKind() << Record; in CheckCompletedCXXClass()
11567 << (unsigned) RD->getTagKind() in CheckFriendTypeDecl()
DSemaTemplateInstantiate.cpp1942 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
DSemaType.cpp2185 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { in GetDeclSpecTypeForDeclarator()
5408 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
DSemaDeclAttr.cpp140 if (RD->getTagKind() != TTK_Struct) in isCFStringType()
/external/clang/include/clang/Analysis/
DProgramPoint.h657 const void *getTagKind() { return TagKind; } in getTagKind() function