Lines Matching refs:isFunctionOrMethod

596   return CurContext->isFunctionOrMethod() || S->isFunctionPrototypeScope();  in isMicrosoftMissingTypename()
1262 !D->getLexicalDeclContext()->isFunctionOrMethod()) in PushOnScopeChains()
1506 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl()
3240 if (!New->getLexicalDeclContext()->isFunctionOrMethod()) in MergeFunctionDecl()
3450 (!OldVD->getLexicalDeclContext()->isFunctionOrMethod() && in mergeTypeWithPrevious()
3451 !NewVD->getLexicalDeclContext()->isFunctionOrMethod()); in mergeTypeWithPrevious()
3455 return !OldVD->getLexicalDeclContext()->isFunctionOrMethod() || in mergeTypeWithPrevious()
3934 if (CurContext->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec()
4002 Tag && Tag->getDeclContext()->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec()
5024 else if (CurContext->isFunctionOrMethod() && in HandleDeclarator()
5458 if (!OuterContext->isFunctionOrMethod()) in isOutOfScopePreviousDeclaration()
5770 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC)) in shouldConsiderLinkage()
5781 if (DC->isFileContext() || DC->isFunctionOrMethod() || in shouldConsiderLinkage()
5817 if (!DC->isFunctionOrMethod()) in adjustContextForLocalExternDecl()
6181 if (CurContext->isFunctionOrMethod()) { in ActOnVariableDeclarator()
6214 !DC->isFunctionOrMethod())) in ActOnVariableDeclarator()
7316 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()
7885 if (CurContext->isFunctionOrMethod()) { in ActOnFunctionDeclarator()
11131 if (Prev->getLexicalDeclContext()->isFunctionOrMethod()) in ShouldWarnAboutMissingPrototype()
11956 if (CurContext->isFunctionOrMethod()) in ParseTypedefDecl()
12229 while (!DC->isFileContext() && !DC->isFunctionOrMethod()) in getTagInjectionContext()
13021 else if (!SearchDC->isFunctionOrMethod()) in ActOnTag()