Lines Matching refs:isFunctionOrMethod
505 return CurContext->isFunctionOrMethod() || S->isFunctionPrototypeScope(); in isMicrosoftMissingTypename()
1157 !D->getLexicalDeclContext()->isFunctionOrMethod()) in PushOnScopeChains()
1398 !D->getDeclContext()->isFunctionOrMethod()) in ShouldDiagnoseUnusedDecl()
2891 if (!New->getLexicalDeclContext()->isFunctionOrMethod()) in MergeFunctionDecl()
3075 (!OldVD->getLexicalDeclContext()->isFunctionOrMethod() && in mergeTypeWithPrevious()
3076 !NewVD->getLexicalDeclContext()->isFunctionOrMethod()); in mergeTypeWithPrevious()
3080 return !OldVD->getLexicalDeclContext()->isFunctionOrMethod() || in mergeTypeWithPrevious()
3450 Tag && Tag->getDeclContext()->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec()
4470 else if (CurContext->isFunctionOrMethod() && in HandleDeclarator()
4896 if (!OuterContext->isFunctionOrMethod()) in isOutOfScopePreviousDeclaration()
5132 if (DC->isFunctionOrMethod()) in shouldConsiderLinkage()
5143 if (DC->isFileContext() || DC->isFunctionOrMethod()) in shouldConsiderLinkage()
5178 if (!DC->isFunctionOrMethod()) in adjustContextForLocalExternDecl()
5498 DC->isFunctionOrMethod()) in ActOnVariableDeclarator()
6439 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()
7003 if (CurContext->isFunctionOrMethod()) { in ActOnFunctionDeclarator()
9769 if (Prev->getLexicalDeclContext()->isFunctionOrMethod()) in ShouldWarnAboutMissingPrototype()
10484 if (CurContext->isFunctionOrMethod()) in ParseTypedefDecl()
11005 while (!SearchDC->isFileContext() && !SearchDC->isFunctionOrMethod()) in ActOnTag()
11413 else if (!SearchDC->isFunctionOrMethod()) in ActOnTag()