/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() 733 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl() 1012 if (Pattern->getDeclContext()->isFunctionOrMethod() && in InstantiateEnumDefinition() 1507 Owner->isFunctionOrMethod() || in VisitFunctionDecl() 2342 if (!Owner->isFunctionOrMethod()) in VisitUsingDirectiveDecl() 2417 bool isFunctionScope = Owner->isFunctionOrMethod(); in VisitUsingDecl() 3844 if (NewVar->getDeclContext()->isFunctionOrMethod()) in BuildVariableInstantiation() 3870 NewVar->getDeclContext()->isFunctionOrMethod() && in BuildVariableInstantiation() 4641 (ParentDC->isFunctionOrMethod() && ParentDC->isDependentContext()) || in FindInstantiatedDecl()
|
D | SemaDecl.cpp | 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() [all …]
|
D | SemaLambda.cpp | 248 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in createLambdaClosureType() 908 if (Intro.Default != LCD_None && !Class->getParent()->isFunctionOrMethod() && in ActOnStartOfLambdaDefinition()
|
D | SemaLookup.cpp | 119 } else if (!Ctx || Ctx->isFunctionOrMethod()) { in visitScopeChain() 353 if (DC->isFunctionOrMethod()) in getContextForScopeMatching() 1158 if (Ctx->isFunctionOrMethod()) { in CppLookupName() 3603 (S->getEntity())->isFunctionOrMethod()) { in LookupVisibleDecls() 3643 if (Ctx->isFunctionOrMethod()) in LookupVisibleDecls()
|
D | SemaType.cpp | 3044 !S.CurContext->isFunctionOrMethod() || in warnAboutAmbiguousFunction() 3424 if (ctx->isFunctionOrMethod()) in getNullabilityCompletenessCheckFileID() 3630 bool isFunctionOrMethod = false; in GetFullTypeForDeclarator() local 3636 isFunctionOrMethod = true; in GetFullTypeForDeclarator() 3640 if (state.getDeclarator().isObjCIvar() && !isFunctionOrMethod) { in GetFullTypeForDeclarator() 3677 if (isFunctionOrMethod && inAssumeNonNullRegion) in GetFullTypeForDeclarator() 3682 if (isFunctionOrMethod) { in GetFullTypeForDeclarator()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 374 while (DC && !DC->isFunctionOrMethod()) { in getParentName() 469 if (DC->isFunctionOrMethod()) in addParentContext()
|
D | IdentifierResolver.cpp | 103 if (Ctx->isFunctionOrMethod() || (S && S->isFunctionPrototypeScope())) { in isDeclInScope()
|
D | SemaTemplateInstantiateDecl.cpp | 35 if (DC->isFunctionOrMethod()) in isDeclWithinFunction() 1116 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl() 1394 if (Pattern->getDeclContext()->isFunctionOrMethod() && in InstantiateEnumDefinition() 1897 Owner->isFunctionOrMethod() || in VisitFunctionDecl() 2975 if (!Owner->isFunctionOrMethod()) in VisitUsingDirectiveDecl() 3050 bool isFunctionScope = Owner->isFunctionOrMethod(); in VisitUsingDecl() 3138 if (D->getDeclContext()->isFunctionOrMethod() && *NumExpansions > 1) { in instantiateUnresolvedUsingDecl() 5039 if (NewVar->getDeclContext()->isFunctionOrMethod()) in BuildVariableInstantiation() 5087 NewVar->getDeclContext()->isFunctionOrMethod() && in BuildVariableInstantiation() 5813 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() || in FindInstantiatedDecl()
|
D | SemaDecl.cpp | 657 return CurContext->isFunctionOrMethod() || S->isFunctionPrototypeScope(); in isMicrosoftMissingTypename() 1784 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl() 3996 (!OldVD->getLexicalDeclContext()->isFunctionOrMethod() && in mergeTypeWithPrevious() 3997 !NewVD->getLexicalDeclContext()->isFunctionOrMethod()); in mergeTypeWithPrevious() 4001 return !OldVD->getLexicalDeclContext()->isFunctionOrMethod() || in mergeTypeWithPrevious() 4655 if (CurContext->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec() 4723 Tag && Tag->getDeclContext()->isFunctionOrMethod()) in ParsedFreeStandingDeclSpec() 5783 else if (CurContext->isFunctionOrMethod() && in HandleDeclarator() 6251 if (!OuterContext->isFunctionOrMethod()) in isOutOfScopePreviousDeclaration() 6648 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage() [all …]
|
D | SemaLookup.cpp | 118 } else if (!Ctx || Ctx->isFunctionOrMethod()) { in visitScopeChain() 356 if (DC->isFunctionOrMethod()) in getContextForScopeMatching() 1310 if (Ctx->isFunctionOrMethod()) { in CppLookupName() 3935 (S->getEntity())->isFunctionOrMethod()) { in lookupInScope() 3977 if (Ctx->isFunctionOrMethod()) in lookupInScope()
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 323 if (!IsRef && Parent && !cast<DeclContext>(Parent)->isFunctionOrMethod()) { in handleDeclOccurrence()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTCommon.cpp | 460 if (D->getLexicalDeclContext()->isFunctionOrMethod()) { in needsAnonymousDeclarationNumber()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UseAfterMoveCheck.cpp | 449 if (!Arg->getDecl()->getDeclContext()->isFunctionOrMethod()) in check()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 433 if (Ctx->isFunctionOrMethod()) in matchesNodeFullFast()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1263 bool isFunctionOrMethod() const { in isFunctionOrMethod() function 1276 return !isFunctionOrMethod() && DeclKind != Decl::LinkageSpec; in isLookupContext()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Quality.cpp | 277 if (DC->isFunctionOrMethod()) in computeScope()
|
D | SemanticHighlighting.cpp | 94 return BD->getDeclContext()->isFunctionOrMethod() in kindForDecl()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 215 if (DC->isFunctionOrMethod()) in getParentFunctionOrMethod() 284 if (LDC->isFunctionOrMethod()) in isLexicallyWithinFunctionOrMethod()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 1867 bool isFunctionOrMethod() const { in isFunctionOrMethod() function 1881 return !isFunctionOrMethod() && getDeclKind() != Decl::LinkageSpec && in isLookupContext()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 290 if (DC->isFunctionOrMethod()) in getParentFunctionOrMethod() 372 if (LDC->isFunctionOrMethod()) in isInLocalScopeForInstantiation()
|
/external/llvm-project/clang/lib/Analysis/ |
D | BodyFarm.cpp | 233 if (!FoundDecl->getDeclContext()->isFunctionOrMethod()) in findMemberField()
|