/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 283 while (DC && !DC->isFunctionOrMethod()) { in getParentName() 381 if (DC->isFunctionOrMethod()) in addParentContext()
|
D | IdentifierResolver.cpp | 101 if (Ctx->isFunctionOrMethod() || (S && S->isFunctionPrototypeScope())) { in isDeclInScope()
|
D | SemaTemplateInstantiateDecl.cpp | 30 if (DC->isFunctionOrMethod()) in isDeclWithinFunction() 626 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl() 905 if (Pattern->getDeclContext()->isFunctionOrMethod() && in InstantiateEnumDefinition() 1400 Owner->isFunctionOrMethod() || in VisitFunctionDecl() 2270 if (!Owner->isFunctionOrMethod()) in VisitUsingDirectiveDecl() 2342 bool isFunctionScope = Owner->isFunctionOrMethod(); in VisitUsingDecl() 3670 if (NewVar->getDeclContext()->isFunctionOrMethod()) in BuildVariableInstantiation() 3695 NewVar->getDeclContext()->isFunctionOrMethod() && in BuildVariableInstantiation() 4431 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl()
|
D | SemaDecl.cpp | 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() [all …]
|
D | SemaLambda.cpp | 247 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType() 910 if (Intro.Default != LCD_None && !Class->getParent()->isFunctionOrMethod() && in ActOnStartOfLambdaDefinition()
|
D | SemaLookup.cpp | 120 } else if (!Ctx || Ctx->isFunctionOrMethod()) { in visitScopeChain() 350 if (DC->isFunctionOrMethod()) in getContextForScopeMatching() 1140 if (Ctx->isFunctionOrMethod()) { in CppLookupName() 3517 (S->getEntity())->isFunctionOrMethod()) { in LookupVisibleDecls() 3557 if (Ctx->isFunctionOrMethod()) in LookupVisibleDecls()
|
D | SemaType.cpp | 2831 !S.CurContext->isFunctionOrMethod() || in warnAboutAmbiguousFunction() 3187 if (ctx->isFunctionOrMethod()) in getNullabilityCompletenessCheckFileID() 3390 bool isFunctionOrMethod = false; in GetFullTypeForDeclarator() local 3396 isFunctionOrMethod = true; in GetFullTypeForDeclarator() 3400 if (state.getDeclarator().isObjCIvar() && !isFunctionOrMethod) { in GetFullTypeForDeclarator() 3437 if (isFunctionOrMethod && inAssumeNonNullRegion) in GetFullTypeForDeclarator() 3442 if (isFunctionOrMethod) { in GetFullTypeForDeclarator()
|
D | SemaCXXScopeSpec.cpp | 765 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier()
|
D | SemaDeclAttr.cpp | 52 static bool isFunctionOrMethod(const Decl *D) { in isFunctionOrMethod() function 58 return isFunctionOrMethod(D) || isa<BlockDecl>(D); in isFunctionOrMethodOrBlock() 1795 } else if (!isFunctionOrMethod(D)) { in handleUsedAttr() 3485 } else if (!isFunctionOrMethod(D)) { in handleNoDebugAttr() 3897 if (!isFunctionOrMethod(D) || !hasFunctionProto(D)) { in handleArgumentWithTypeTagAttr() 4533 if (!isFunctionOrMethod(D)) { in handleMipsInterruptAttr()
|
D | SemaStmt.cpp | 3681 while (DC && !DC->isFunctionOrMethod()) in ActOnSEHTryBlock() 3764 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
|
D | SemaCodeComplete.cpp | 459 CommonAncestor->isFunctionOrMethod()) in getRequiredQualification() 565 if (HiddenCtx->isFunctionOrMethod()) in CheckHiddenResult() 715 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
|
D | SemaTemplate.cpp | 4187 if (Tag->getDeclContext()->isFunctionOrMethod()) { in VisitTagDecl() 5884 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
|
D | SemaExpr.cpp | 2693 else if (D->getLexicalDeclContext()->isFunctionOrMethod()) in UseArgumentDependentLookup() 12603 if (!S.getLangOpts().CPlusPlus && !S.CurContext->isFunctionOrMethod()) in diagnoseUncapturableValueReference() 13445 Var->getDeclContext()->isFunctionOrMethod() && Var->hasLocalStorage()); in DoMarkVarDeclReferenced()
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 203 if (DC->isFunctionOrMethod()) in getParentFunctionOrMethod() 272 if (LDC->isFunctionOrMethod()) in isLexicallyWithinFunctionOrMethod() 1548 if (isFunctionOrMethod()) in makeDeclVisibleInContextWithFlags()
|
D | ASTImporter.cpp | 2396 if (!DC->isFunctionOrMethod()) { in VisitTypedefNameDecl() 2480 if (!DC->isFunctionOrMethod() && SearchName) { in VisitEnumDecl() 2569 if (!DC->isFunctionOrMethod()) { in VisitRecordDecl() 2693 if (!LexicalDC->isFunctionOrMethod()) { in VisitEnumConstantDecl() 2748 if (!LexicalDC->isFunctionOrMethod()) { in VisitFunctionDecl() 4204 if (!DC->isFunctionOrMethod()) { in VisitClassTemplateDecl() 4395 assert(!DC->isFunctionOrMethod() && in VisitVarTemplateDecl()
|
D | MicrosoftMangle.cpp | 170 if (!DC->isFunctionOrMethod()) in getNextDiscriminator() 363 if (DC->isFunctionOrMethod() && D->hasLinkage()) in shouldMangleCXXName()
|
D | Decl.cpp | 1335 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl() 1410 if (Ctx->isFunctionOrMethod()) { in printQualifiedName()
|
D | TypePrinter.cpp | 865 if (DC->isFunctionOrMethod()) return; in AppendScope()
|
D | ItaniumMangle.cpp | 446 if (DC->isFunctionOrMethod() && D->hasLinkage()) in shouldMangleCXXName()
|
D | Type.cpp | 3316 Tag->getDeclContext()->isFunctionOrMethod() || in computeCachedProperties()
|
D | Expr.cpp | 668 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) { in ComputeName()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1244 bool isFunctionOrMethod() const { in isFunctionOrMethod() function 1257 return !isFunctionOrMethod() && DeclKind != Decl::LinkageSpec; in isLookupContext()
|
D | Decl.h | 958 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl() 973 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1175 VD->getLexicalDeclContext()->isFunctionOrMethod()) in VisitVarDeclImpl()
|