Lines Matching refs:isFunctionOrMethod
657 return CurContext->isFunctionOrMethod() || S->isFunctionPrototypeScope(); in isMicrosoftMissingTypename()
1784 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl()
3996 (!OldVD->getLexicalDeclContext()->isFunctionOrMethod() && in mergeTypeWithPrevious()
3997 !NewVD->getLexicalDeclContext()->isFunctionOrMethod()); in mergeTypeWithPrevious()
4001 return !OldVD->getLexicalDeclContext()->isFunctionOrMethod() || in mergeTypeWithPrevious()
4655 if (CurContext->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec()
4723 Tag && Tag->getDeclContext()->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec()
5783 else if (CurContext->isFunctionOrMethod() && in HandleDeclarator()
6251 if (!OuterContext->isFunctionOrMethod()) in isOutOfScopePreviousDeclaration()
6648 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
6662 if (DC->isFileContext() || DC->isFunctionOrMethod() || in shouldConsiderLinkage()
6690 if (!DC->isFunctionOrMethod()) in adjustContextForLocalExternDecl()
6953 if (Ctxt->isFunctionOrMethod()) { in ActOnVariableDeclarator()
7095 } else if (CurContext->isFunctionOrMethod()) { in ActOnVariableDeclarator()
7133 !DC->isFunctionOrMethod())) in ActOnVariableDeclarator()
8394 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()
8839 while (!DC->isFileContext() && !DC->isFunctionOrMethod()) in getTagInjectionContext()
9102 if (CurContext->isFunctionOrMethod()) { in ActOnFunctionDeclarator()
13888 if (Prev->getLexicalDeclContext()->isFunctionOrMethod()) in ShouldWarnAboutMissingPrototype()
15016 if (CurContext->isFunctionOrMethod()) in ParseTypedefDecl()
16175 else if (!SearchDC->isFunctionOrMethod()) in ActOnTag()