Searched refs:isFunctionOrMethod (Results 1 – 20 of 20) sorted by relevance
136 if (DC->isFunctionOrMethod()) in mangleBlock()
762 if (D->getLexicalDeclContext()->isFunctionOrMethod()) { in getLVForDecl()818 if (Ctx->isFunctionOrMethod()) in getQualifiedNameAsString()1161 (getDeclContext()->isFunctionOrMethod() && hasExternalStorage()); in isExternC()1164 if (DC->isFunctionOrMethod()) in isExternC()
2031 if (!DC->isFunctionOrMethod()) { in VisitTypedefNameDecl()2111 if (!DC->isFunctionOrMethod() && SearchName) { in VisitEnumDecl()2213 if (!DC->isFunctionOrMethod() && SearchName) { in VisitRecordDecl()2297 if (!LexicalDC->isFunctionOrMethod()) { in VisitEnumConstantDecl()2343 if (!LexicalDC->isFunctionOrMethod()) { in VisitFunctionDecl()3596 if (!DC->isFunctionOrMethod()) { in VisitClassTemplateDecl()
140 if (DC->isFunctionOrMethod()) in isDefinedOutsideFunctionOrMethod()
2037 Tag->getDeclContext()->isFunctionOrMethod() || in computeCachedProperties()
370 if (DC->isFunctionOrMethod() && D->hasLinkage()) in shouldMangleDeclName()
365 if (Owner->isFunctionOrMethod()) in VisitVarDecl()418 if (!Var->isInvalidDecl() && Owner->isFunctionOrMethod() && !Var->isUsed() && in VisitVarDecl()500 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()640 if (D->getDeclContext()->isFunctionOrMethod()) in VisitEnumDecl()685 if (D->getDeclContext()->isFunctionOrMethod()) { in VisitEnumDecl()999 if (Record->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitCXXRecordDecl()1038 Owner->isFunctionOrMethod() || in VisitFunctionDecl()1061 if (D->getDeclContext()->isFunctionOrMethod()) in VisitFunctionDecl()1827 bool isFunctionScope = Owner->isFunctionOrMethod(); in VisitUsingDecl()3047 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext())) { in FindInstantiatedDecl()
111 if (Ctx->isFunctionOrMethod()) { in isDeclInScope()
84 static bool isFunctionOrMethod(const Decl *D) { in isFunctionOrMethod() function92 if (isFunctionOrMethod(D)) in isFunctionOrMethodOrBlock()385 if (!isFunctionOrMethod(D) || !hasFunctionProto(D)) { in handleNonNullAttr()865 if (!isFunctionOrMethod(D) && !isa<BlockDecl>(D)) { in handleAnalyzerNoReturnAttr()942 if (!isFunctionOrMethod(D) && !isa<ParmVarDecl>(D)) { in handleDependencyAttr()957 if (!isa<VarDecl>(D) && !isa<ObjCIvarDecl>(D) && !isFunctionOrMethod(D) && in handleUnusedAttr()979 } else if (!isFunctionOrMethod(D)) { in handleUsedAttr()1642 if (!isFunctionOrMethod(D) || !hasFunctionProto(D)) { in handleFormatArgAttr()2261 if (!isFunctionOrMethod(D)) { in handleNoDebugAttr()2610 if (!isFunctionOrMethod(D)) { in handleLaunchBoundsAttr()
263 if (DC->isFunctionOrMethod() || isa<BlockDecl>(DC)) { in getPriorityFromDecl()
1049 !D->getDeclContext()->isFunctionOrMethod()) in ShouldDiagnoseUnusedDecl()3097 if (CurContext->isFunctionOrMethod() || in HandleDeclarator()3290 assert(ND->getLexicalDeclContext()->isFunctionOrMethod() && in RegisterLocallyScopedExternCDecl()3485 if (!OuterContext->isFunctionOrMethod()) in isOutOfScopePreviousDeclaration()3802 if (CurContext->isFunctionOrMethod() && NewVD->isExternC() && in ActOnVariableDeclarator()4149 if (CurContext->getRedeclContext()->isFunctionOrMethod()) { in ActOnFunctionDeclarator()4470 if (CurContext->isFunctionOrMethod()) { in ActOnFunctionDeclarator()4876 if (CurContext->isFunctionOrMethod() && NewFD->isExternC() in ActOnFunctionDeclarator()6284 if (Prev->getDeclContext()->isFunctionOrMethod()) in ShouldWarnAboutMissingPrototype()
899 if (Ctx->isFunctionOrMethod()) { in CppLookupName()2814 ((DeclContext *)S->getEntity())->isFunctionOrMethod()) { in LookupVisibleDecls()2871 if (Ctx->isFunctionOrMethod()) in LookupVisibleDecls()
1342 if (!DC->isFunctionOrMethod()) DC = fn; in HandleDelayedAccessCheck()
3239 if (Tag->getDeclContext()->isFunctionOrMethod()) { in VisitTagDecl()4492 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
1062 if (!S.CurContext->isFunctionOrMethod()) return CR_NoCapture; in diagnoseUncapturableValueReference()2084 else if (D->getDeclContext()->isFunctionOrMethod()) in UseArgumentDependentLookup()8882 (isa<VarDecl>(D) && D->getDeclContext()->isFunctionOrMethod())) { in MarkDeclarationReferenced()
443 CommonAncestor->isFunctionOrMethod()) in getRequiredQualification()558 if (HiddenCtx->isFunctionOrMethod()) in CheckHiddenResult()
8124 !(*I)->getDeclContext()->isFunctionOrMethod()); in AddOverloadedCallCandidates()
895 bool isFunctionOrMethod() const { in isFunctionOrMethod() function
842 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()852 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
2571 if (DC->isFunctionOrMethod()) in WriteDeclContextVisibleBlock()