Lines Matching refs:isFunctionOrMethod
552 return CurContext->isFunctionOrMethod() || S->isFunctionPrototypeScope(); in isMicrosoftMissingTypename()
1222 !D->getLexicalDeclContext()->isFunctionOrMethod()) in PushOnScopeChains()
1463 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl()
3166 if (!New->getLexicalDeclContext()->isFunctionOrMethod()) in MergeFunctionDecl()
3363 (!OldVD->getLexicalDeclContext()->isFunctionOrMethod() && in mergeTypeWithPrevious()
3364 !NewVD->getLexicalDeclContext()->isFunctionOrMethod()); in mergeTypeWithPrevious()
3368 return !OldVD->getLexicalDeclContext()->isFunctionOrMethod() || in mergeTypeWithPrevious()
3872 Tag && Tag->getDeclContext()->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec()
4891 else if (CurContext->isFunctionOrMethod() && in HandleDeclarator()
5325 if (!OuterContext->isFunctionOrMethod()) in isOutOfScopePreviousDeclaration()
5621 if (DC->isFunctionOrMethod()) in shouldConsiderLinkage()
5632 if (DC->isFileContext() || DC->isFunctionOrMethod()) in shouldConsiderLinkage()
5667 if (!DC->isFunctionOrMethod()) in adjustContextForLocalExternDecl()
6014 !DC->isFunctionOrMethod())) in ActOnVariableDeclarator()
7037 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()
7607 if (CurContext->isFunctionOrMethod()) { in ActOnFunctionDeclarator()
10721 if (Prev->getLexicalDeclContext()->isFunctionOrMethod()) in ShouldWarnAboutMissingPrototype()
11537 if (CurContext->isFunctionOrMethod()) in ParseTypedefDecl()
12123 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()
12570 else if (!SearchDC->isFunctionOrMethod()) in ActOnTag()