Searched refs:getDeclKind (Results 1 – 11 of 11) sorted by relevance
727 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext()811 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); } in getKind()965 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext()966 if (DC->getDeclKind() == Decl::LinkageSpec) in isLinkageSpecContext()
303 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
657 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) { in ComputeName()
180 switch (DC->getDeclKind()) { in getDefinitiveDeclContext()
200 switch (DC->getDeclKind()) { in PrintDeclContext()
1208 Decl::Kind getDeclKind() const { in getDeclKind() function1860 return To::classofKind(Val.getDeclKind());
1046 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()685 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
3678 switch (CurContext->getDeclKind()) { in getObjCContainerKind()3999 switch (container->getDeclKind()) { in searchFromContainer()
11360 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()11361 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()
7651 switch (CurContext->getDeclKind()) { in IsUsingDirectiveInToplevelContext()