Searched refs:getDeclKind (Results 1 – 15 of 15) sorted by relevance
156 switch (getDeclKind()) { in getDeclKindName()869 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext()1111 if (getDeclKind() == Decl::Enum) in isTransparentContext()1113 else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export) in isTransparentContext()1159 switch (getDeclKind()) { in getPrimaryContext()1195 if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) { in getPrimaryContext()1226 if (getDeclKind() != Decl::Namespace) { in collectAllContexts()1596 assert(getDeclKind() != Decl::LinkageSpec && in lookup()1597 getDeclKind() != Decl::Export && in lookup()1661 assert(getDeclKind() != Decl::LinkageSpec && in noload_lookup()[all …]
78 SearchResultDecl->getKind() == DC->getDeclKind()) in LookupSameContext()
919 Method1->getDeclKind() == Method2->getDeclKind() && in IsStructurallyEquivalent()
528 ID.AddInteger(Function->getDeclKind()); in AddFunctionDecl()
305 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
729 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) { in ComputeName()
1745 Decl::Kind getDeclKind() const { in getDeclKind() function1788 switch (getDeclKind()) { in isObjCContainer()1801 switch (getDeclKind()) { in isFunctionOrMethod()1807 return getDeclKind() >= Decl::firstFunction && in isFunctionOrMethod()1808 getDeclKind() <= Decl::lastFunction; in isFunctionOrMethod()1815 getDeclKind() != Decl::Export; in isLookupContext()1820 getDeclKind() == Decl::Namespace; in isFileContext()1824 return getDeclKind() == Decl::TranslationUnit; in isTranslationUnit()1828 return getDeclKind() >= Decl::firstRecord && in isRecord()1829 getDeclKind() <= Decl::lastRecord; in isRecord()[all …]
1123 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
260 switch (DC->getDeclKind()) { in getDefinitiveDeclContext()
699 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()700 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
3769 switch (CurContext->getDeclKind()) { in getObjCContainerKind()4202 switch (container->getDeclKind()) { in searchFromContainer()
12994 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()12995 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()14801 DC->getDeclKind() == Decl::Enum) { in ActOnTag()
9305 switch (CurContext->getDeclKind()) { in IsUsingDirectiveInToplevelContext()
795 decl_ctx->getDeclKind(); in ParseTypeFromDWARF()1284 containing_decl_ctx->getDeclKind(); in ParseTypeFromDWARF()3387 DeclKindIsCXXClass(containing_decl_ctx->getDeclKind()) && in ParseChildParameters()
2457 lhs_decl_ctx->getDeclKind(); in DeclsAreEquivalent()2459 rhs_decl_ctx->getDeclKind(); in DeclsAreEquivalent()2497 switch (lhs_decl_ctx->getDeclKind()) { in DeclsAreEquivalent()