Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndexCXX.cpp68 switch (PartialSpec->getTagKind()) { in clang_getTemplateCursorKind()
/external/clang/lib/Index/
DUSRGeneration.cpp441 switch (D->getTagKind()) { in VisitTagDecl()
453 switch (D->getTagKind()) { in VisitTagDecl()
465 switch (D->getTagKind()) { in VisitTagDecl()
DIndexSymbol.cpp60 switch (TD->getTagKind()) { in getSymbolInfo()
/external/clang/include/clang/AST/
DDecl.h2927 return TypeWithKeyword::getTagTypeKindName(getTagKind()); in getKindName()
2930 TagKind getTagKind() const { in getTagKind() function
2936 bool isStruct() const { return getTagKind() == TTK_Struct; } in isStruct()
2937 bool isInterface() const { return getTagKind() == TTK_Interface; } in isInterface()
2938 bool isClass() const { return getTagKind() == TTK_Class; } in isClass()
2939 bool isUnion() const { return getTagKind() == TTK_Union; } in isUnion()
2940 bool isEnum() const { return getTagKind() == TTK_Enum; } in isEnum()
/external/clang/lib/AST/
DDeclCXX.cpp440 (!isa<TagDecl>(D) || cast<TagDecl>(D)->getTagKind() == TTK_Class || in addedMember()
441 cast<TagDecl>(D)->getTagKind() == TTK_Interface)) in addedMember()
1026 if (getTagKind() == TTK_Class || getTagKind() == TTK_Interface || in isCLike()
DRecordLayoutBuilder.cpp1969 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
1976 << getPaddingDiagFromTagKind(D->getParent()->getTagKind()) in CheckFieldPadding()
DASTImporter.cpp1079 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
2847 Importer.getToContext(), D->getTagKind(), DC, StartLoc, Loc, in VisitRecordDecl()
2853 D->getTagKind(), in VisitRecordDecl()
2860 D2 = RecordDecl::Create(Importer.getToContext(), D->getTagKind(), in VisitRecordDecl()
4568 D->getTagKind(), DC, in VisitClassTemplateSpecializationDecl()
DMicrosoftMangle.cpp2071 mangleTagTypeKind(TD->getTagKind()); in mangleType()
DExprConstant.cpp6475 switch (RT->getDecl()->getTagKind()) { in EvaluateBuiltinClassifyType()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2668 return (TagX->getTagKind() == TagY->getTagKind()) || in isSameEntity()
2669 ((TagX->getTagKind() == TTK_Struct || TagX->getTagKind() == TTK_Class || in isSameEntity()
2670 TagX->getTagKind() == TTK_Interface) && in isSameEntity()
2671 (TagY->getTagKind() == TTK_Struct || TagY->getTagKind() == TTK_Class || in isSameEntity()
2672 TagY->getTagKind() == TTK_Interface)); in isSameEntity()
DASTWriterDecl.cpp396 Record.push_back((unsigned)D->getTagKind()); // FIXME: stable encoding in VisitTagDecl()
DASTWriter.cpp4716 Record.push_back(RD->getTagKind()); in WriteDeclUpdatesBlocks()
/external/clang/include/clang/Analysis/
DProgramPoint.h48 const void *getTagKind() { return TagKind; } in getTagKind() function
/external/clang/lib/Sema/
DSemaDecl.cpp557 switch (TD->getTagKind()) { in isTagName()
718 switch (Tag->getTagKind()) { in isTagTypeWithMissingTag()
4004 << Tag->getTagKind() in ParsedFreeStandingDeclSpec()
12089 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration()
12119 if (I->getTagKind() != NewTag) { in isAcceptableTagRedeclaration()
12124 << getRedeclDiagFromTagKind(I->getTagKind()); in isAcceptableTagRedeclaration()
12140 if (Redecl->getTagKind() == NewTag) { in isAcceptableTagRedeclaration()
12152 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration()
12154 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration()
12658 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag()
[all …]
DSemaTemplateInstantiateDecl.cpp1104 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl()
1157 = CXXRecordDecl::Create(SemaRef.Context, Pattern->getTagKind(), DC, in VisitClassTemplateDecl()
1389 = CXXRecordDecl::Create(SemaRef.Context, D->getTagKind(), Owner, in VisitCXXRecordDecl()
2746 D->getTagKind(), in VisitClassTemplateSpecializationDecl()
3035 PartialSpec->getTagKind(), in InstantiateClassTemplatePartialSpecialization()
DSemaCodeComplete.cpp1135 return RD->getTagKind() == TTK_Class || in IsClassOrStruct()
1136 RD->getTagKind() == TTK_Struct || in IsClassOrStruct()
1137 RD->getTagKind() == TTK_Interface; in IsClassOrStruct()
1149 return RD->getTagKind() == TTK_Union; in IsUnion()
1497 switch (Tag->getTagKind()) { in GetCompletionTypeString()
3088 switch (TD->getTagKind()) { in getCursorKindForDecl()
DSemaTemplate.cpp1040 Kind = PrevRecordDecl->getTagKind(); in CheckClassTemplate()
2249 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType()
6291 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnClassTemplateSpecialization()
7365 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()
4925 << Record->getTagKind() << Record; in CheckCompletedCXXClass()
12452 << (unsigned) RD->getTagKind() in CheckFriendTypeDecl()
DSemaType.cpp2844 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { in GetDeclSpecTypeForDeclarator()
3384 if (recordDecl->getTagKind() == TTK_Struct && numNormalPointers > 0) { in classifyPointerDeclarator()
7162 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
DSemaTemplateInstantiate.cpp1986 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
DSemaDeclAttr.cpp169 if (RD->getTagKind() != TTK_Struct) in isCFStringType()