/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()
|
D | SemaCXXScopeSpec.cpp | 795 if (DC->isDependentContext() && DC->isFunctionOrMethod()) { in BuildCXXNestedNameSpecifier()
|
D | SemaDeclAttr.cpp | 55 static bool isFunctionOrMethod(const Decl *D) { in isFunctionOrMethod() function 62 return isFunctionOrMethod(D) || isa<BlockDecl>(D); in isFunctionOrMethodOrBlock() 1822 } else if (!isFunctionOrMethod(D)) { in handleUsedAttr() 4126 if (!isFunctionOrMethod(D) || !hasFunctionProto(D)) { in handleArgumentWithTypeTagAttr() 4809 if (!isFunctionOrMethod(D)) { in handleMipsInterruptAttr() 4850 if (!isFunctionOrMethod(D) || !hasFunctionProto(D) || isInstanceMethod(D) || in handleAnyX86InterruptAttr()
|
D | SemaStmt.cpp | 3749 while (DC && !DC->isFunctionOrMethod()) in ActOnSEHTryBlock() 3832 while (!(DC->isFunctionOrMethod() || DC->isRecord() || DC->isFileContext())) in CreateCapturedStmtRecordDecl()
|
D | SemaCodeComplete.cpp | 458 CommonAncestor->isFunctionOrMethod()) in getRequiredQualification() 582 if (HiddenCtx->isFunctionOrMethod()) in CheckHiddenResult() 732 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
|
D | SemaTemplate.cpp | 4229 if (Tag->getDeclContext()->isFunctionOrMethod()) { in VisitTagDecl() 5928 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 323 if (!IsRef && Parent && !cast<DeclContext>(Parent)->isFunctionOrMethod()) { in handleDeclOccurrence()
|
/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()
|
D | Decl.h | 1031 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl() 1046 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 215 if (DC->isFunctionOrMethod()) in getParentFunctionOrMethod() 284 if (LDC->isFunctionOrMethod()) in isLexicallyWithinFunctionOrMethod()
|
D | ASTImporter.cpp | 2542 if (!DC->isFunctionOrMethod()) { in VisitTypedefNameDecl() 2616 assert(LexicalDC->isFunctionOrMethod()); in VisitLabelDecl() 2659 if (!DC->isFunctionOrMethod() && SearchName) { in VisitEnumDecl() 2748 if (!DC->isFunctionOrMethod()) { in VisitRecordDecl() 2896 if (!LexicalDC->isFunctionOrMethod()) { in VisitEnumConstantDecl() 2951 if (!LexicalDC->isFunctionOrMethod()) { in VisitFunctionDecl() 4429 if (!DC->isFunctionOrMethod()) { in VisitClassTemplateDecl() 4619 assert(!DC->isFunctionOrMethod() && in VisitVarTemplateDecl()
|
D | MicrosoftMangle.cpp | 198 if (!DC->isFunctionOrMethod()) in getNextDiscriminator() 405 if (DC->isFunctionOrMethod() && D->hasLinkage()) in shouldMangleCXXName()
|
D | TypePrinter.cpp | 910 if (DC->isFunctionOrMethod()) return; in AppendScope()
|
D | Decl.cpp | 1338 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl() 1413 if (Ctx->isFunctionOrMethod()) { in printQualifiedName()
|
D | Type.cpp | 3320 Tag->getDeclContext()->isFunctionOrMethod() || in computeCachedProperties()
|
D | ItaniumMangle.cpp | 604 if (DC->isFunctionOrMethod() && D->hasLinkage()) in shouldMangleCXXName()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1232 VD->getLexicalDeclContext()->isFunctionOrMethod()) in VisitVarDeclImpl() 2509 return !D->getDeclContext()->isFunctionOrMethod(); in isConsumerInterestedIn()
|