| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 54 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 176 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 556 getCurScope(), in parseObjCTypeParamListOrProtocolRefs() 575 ObjCTypeParamListScope Scope(Actions, getCurScope()); in parseObjCTypeParamList() 639 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCInterfaceDeclList() 1855 getCurScope(), in parseObjCTypeArgsAndProtocolQualifiers() 1961 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCClassInstanceVariables() 2265 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd); in finish() 2349 getCurScope(), atLoc, propertyLoc, true, in ParseObjCPropertySynthesize() 2411 getCurScope(), atLoc, propertyLoc, false, in ParseObjCPropertyDynamic() [all …]
|
| H A D | ParseExpr.cpp | 163 Actions.CodeCompleteExpression(getCurScope(), in ParseAssignmentExpression() 1153 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 1183 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 1434 if (getCurScope()->getFnParent() == nullptr) in ParseCastExpression() 1731 Actions.CodeCompleteExpression(getCurScope(), in ParseCastExpression() 2843 if (!getCurScope()->getFnParent() && !getCurScope()->getBlockParent()) { in ParseParenExpression() 3022 getCurScope()->isInObjcMethodScope() && in ParseParenExpression() 3490 Actions.ActOnBlockStart(CaretLoc, getCurScope()); in ParseBlockLiteralExpression() 3514 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression() 3559 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression() [all …]
|
| H A D | ParseExprCXX.cpp | 359 Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier() 456 getCurScope(), IdInfo, EnteringContext, SS, false, in ParseOptionalCXXScopeSpecifier() 902 Actions.CodeCompleteObjCMessageReceiver(getCurScope()); in ParseLambdaIntroducer() 1285 Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); in ParseLambdaExpressionAfterIntroducer() 1467 Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); in ParseLambdaExpressionAfterIntroducer() 1478 Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); in ParseLambdaExpressionAfterIntroducer() 2339 TNK = Actions.isTemplateName(getCurScope(), SS, in ParseUnqualifiedIdTemplateId() 2591 Actions.CodeCompleteOperatorName(getCurScope()); in ParseUnqualifiedIdOperator() 2704 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), D); in ParseUnqualifiedIdOperator() 2791 Actions.isCurrentClassName(*Id, getCurScope(), &SS)) { in ParseUnqualifiedId() [all …]
|
| H A D | Parser.cpp | 407 N->Init(getCurScope(), ScopeFlags); in EnterScope() 416 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 422 Scope *OldScope = getCurScope(); in ExitScope() 456 delete getCurScope(); in ~Parser() 478 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() 886 getCurScope(), in ParseExternalDeclaration() 1232 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() 1263 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() 2026 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 2131 Actions.CodeCompleteOrdinaryName(getCurScope(), in handleUnexpectedCodeCompletionToken() [all …]
|
| H A D | ParseDeclCXX.cpp | 67 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 146 if (getCurScope()->isClassScope() || getCurScope()->isTemplateParamScope() || in ParseNamespace() 147 getCurScope()->isInObjcMethodScope() || getCurScope()->getBlockParent() || in ParseNamespace() 148 getCurScope()->getFnParent()) { in ParseNamespace() 216 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace() 287 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 424 getCurScope(), ExportLoc, in ParseExportDeclaration() 475 Actions.CodeCompleteUsing(getCurScope()); in ParseUsingDirectiveOrDeclaration() 525 Actions.CodeCompleteUsingDirective(getCurScope()); in ParseUsingDirective() 1473 Actions.CodeCompleteTag(getCurScope(), TagType); in ParseClassSpecifier() [all …]
|
| H A D | ParseStmt.cpp | 472 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 615 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement() 727 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 1570 getCurScope()->AddFlags(Scope::BreakScope); in ParseSwitchStatement() 1576 getCurScope()->decrementMSManglingNumber(); in ParseSwitchStatement() 1828 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseForStatement() 2008 if (!(getCurScope()->getFlags() & Scope::ContinueScope)) in ParseForStatement() 2052 getCurScope(), ForLoc, CoawaitLoc, FirstPart.get(), in ParseForStatement() 2090 getCurScope()->decrementMSManglingNumber(); in ParseForStatement() 2175 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement() [all …]
|
| H A D | ParseTemplate.cpp | 31 return Actions.getCurScope(); in ReenterTemplateScopes() 230 getCurScope(), AS, DS, in ParseSingleDeclarationAfterTemplate() 424 return Actions.ActOnConceptDefinition(getCurScope(), in ParseConceptDefinition() 719 auto TNK = Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeConstraint() 827 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() 1404 getCurScope(), SS, TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType() 1487 getCurScope(), SS, in ParseTemplateTemplateArgument() 1658 Actions.PushDeclContext(Actions.getCurScope(), DC); in ParseLateTemplatedFuncDef() 1681 Actions.ActOnStartOfFunctionDef(getCurScope(), FunD); in ParseLateTemplatedFuncDef() 1765 getCurScope(), PotentialTemplateName, Less, Greater); in checkPotentialAngleBracket() [all …]
|
| H A D | ParseDecl.cpp | 69 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 2231 S = P.getCurScope(); in ParseDeclarationAfterDeclaratorAndAttributes() 2241 S = P.getCurScope(); in ParseDeclarationAfterDeclaratorAndAttributes() 2723 if (getCurScope()->isFunctionPrototypeScope()) in ParseImplicitInt() 3143 Actions.CodeCompleteDeclSpec(getCurScope(), DS, in ParseDeclarationSpecifiers() 3149 if (getCurScope()->getFnParent() || getCurScope()->getBlockParent()) in ParseDeclarationSpecifiers() 4330 Actions.ActOnField(getCurScope(), TagDecl, in ParseStructUnionBody() 4914 getCurScope(), attrs); in ParseEnumBody() 6507 assert(getCurScope()->isFunctionPrototypeScope() && in ParseFunctionDeclarator() 6657 for (Decl *D : getCurScope()->decls()) { in ParseFunctionDeclarator() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 39 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 42 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 46 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef() 305 P.Actions.ActOnStartDelayedMemberDeclarations(P.getCurScope(), in ReenterClassScopeRAII() 312 P.Actions.ActOnFinishDelayedMemberDeclarations(P.getCurScope(), in ~ReenterClassScopeRAII() 333 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 344 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() 503 Actions.ActOnFinishDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 544 Actions.ActOnStartOfFunctionDef(getCurScope(), LM.D); in ParseLexedMethodDef() 754 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute()
|
| H A D | ParseOpenMP.cpp | 88 P->getCurScope(), SS, NameInfo, Kind); in operator ()() 365 Actions.ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective() 401 Actions.ActOnOpenMPDeclareReductionInitializerStart(getCurScope(), in ParseOpenMPDeclareReductionDirective() 434 return Actions.ActOnOpenMPDeclareReductionDirectiveEnd(getCurScope(), DRD, in ParseOpenMPDeclareReductionDirective() 446 Actions.CodeCompleteInitializer(getCurScope(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl() 472 getCurScope(), OmpPrivParm->getType()->getCanonicalTypeInternal(), in ParseOpenMPReductionInitializerForDecl() 589 getCurScope(), MapperType, Range.getBegin(), VName); in ParseOpenMPDeclareMapperDirective() 619 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective() 684 Actions.ActOnReenterFunctionContext(Actions.getCurScope(), D); in FNContextRAII() 2554 Actions.ActOnOpenMPRegionStart(DKind, getCurScope()); in ParseOpenMPDeclarativeOrExecutableDirective() [all …]
|
| H A D | ParseInit.cpp | 255 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 292 getCurScope(), II, IILoc, II == Ident_super, in ParseInitializerWithPotentialDesignator()
|
| H A D | ParseStmtAsm.cpp | 662 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
|
| H A D | ParsePragma.cpp | 562 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused() 625 Actions.ActOnPragmaDump(getCurScope(), Tok.getLocation(), II); in HandlePragmaDump() 749 Actions.ActOnCapturedRegionStart(Loc, getCurScope(), CR_Default, in HandlePragmaCaptured()
|
| H A D | ParseTentative.cpp | 2163 getCurScope(), &SS)) in isExplicitBool()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 209 ScopeTy *getCurScope() { return CurScope; } in getCurScope() function 210 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 161 S.ActOnTranslationUnitScope(P->getCurScope()); in ParseOrWrapTopLevelDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 1476 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildGet() 1486 return S.BuildCallExpr(S.getCurScope(), GetterExpr.get(), in buildGet() 1505 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildSet() 1518 return S.BuildCallExpr(S.getCurScope(), SetterExpr.get(), in buildSet()
|
| H A D | SemaStmtAsm.cpp | 768 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier() 820 if (LookupName(BaseResult, getCurScope()) && BaseResult.isSingleResult()) in LookupInlineAsmField()
|
| H A D | SemaCoroutine.cpp | 798 if (isWithinCatchScope(S.getCurScope())) in checkSuspensionContext() 1357 S.BuildCallExpr(S.getCurScope(), NewRef.get(), Loc, NewArgs, Loc); in makeNewAndDeleteExpr() 1383 S.BuildCallExpr(S.getCurScope(), DeleteRef.get(), Loc, DeleteArgs, Loc); in makeNewAndDeleteExpr()
|
| H A D | SemaOpenMP.cpp | 919 Scope *getCurScope() const { in getCurScope() function in __anon4581b7f80111::DSAStackTy 1539 Scope *CurScope = getCurScope(); in isOpenMPLocal() 2756 SemaRef.getCurScope()); in ValidateCandidate() 4654 if (Stack->getCurScope()) { in checkNestingOfRegions() 8673 ISC.buildFinalCondition(DSA.getCurScope()); in checkOpenMPIterationSpace() 8714 DSA.getCurScope(), in checkOpenMPIterationSpace() 8719 DSA.getCurScope(), in checkOpenMPIterationSpace() 9055 Scope *CurScope = DSA.getCurScope(); in checkOpenMPLoop() 10298 if (Scope *S = DSAStack->getCurScope()) { in ActOnOpenMPScanDirective() 12710 Scope *CurScope = getCurScope(); in ActOnOpenMPTileDirective() [all …]
|
| H A D | SemaCXXScopeSpec.cpp | 296 for (Scope *S = getCurScope(); S; S = S->getParent()) { in ActOnSuperScopeSpecifier()
|
| H A D | SemaStmt.cpp | 2553 *BeginExpr = SemaRef.ActOnCoawaitExpr(SemaRef.getCurScope(), ColonLoc, in BuildNonArrayForRange() 2709 Scope *S = getCurScope(); in BuildCXXForRangeStmt() 4389 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in ActOnCXXTryBlock()
|
| H A D | SemaExprMember.cpp | 1005 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
| H A D | Sema.cpp | 1955 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 443 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 2963 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 2970 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|