| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 58 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 198 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 591 getCurScope(), in parseObjCTypeParamListOrProtocolRefs() 610 ObjCTypeParamListScope Scope(Actions, getCurScope()); in parseObjCTypeParamList() 687 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCInterfaceDeclList() 1908 getCurScope(), in parseObjCTypeArgsAndProtocolQualifiers() 2013 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCClassInstanceVariables() 2331 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd); in finish() 2415 getCurScope(), atLoc, propertyLoc, true, in ParseObjCPropertySynthesize() 2477 getCurScope(), atLoc, propertyLoc, false, in ParseObjCPropertyDynamic() [all …]
|
| H A D | ParseExpr.cpp | 166 Actions.CodeCompleteExpression(getCurScope(), in ParseAssignmentExpression() 1183 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 1213 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 1481 if (getCurScope()->getFnParent() == nullptr) in ParseCastExpression() 1785 Actions.CodeCompleteExpression(getCurScope(), in ParseCastExpression() 3001 if (!getCurScope()->getFnParent() && !getCurScope()->getBlockParent()) { in ParseParenExpression() 3181 getCurScope()->isInObjcMethodScope() && in ParseParenExpression() 3691 Actions.ActOnBlockStart(CaretLoc, getCurScope()); in ParseBlockLiteralExpression() 3716 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression() 3761 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression() [all …]
|
| H A D | Parser.cpp | 422 N->Init(getCurScope(), ScopeFlags); in EnterScope() 431 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 437 Scope *OldScope = getCurScope(); in ExitScope() 471 delete getCurScope(); in ~Parser() 493 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() 945 Actions.CodeCompleteObjCMethodDecl(getCurScope(), in ParseExternalDeclaration() 1351 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() 1382 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() 2170 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 2275 Actions.CodeCompleteOrdinaryName(getCurScope(), in handleUnexpectedCodeCompletionToken() [all …]
|
| H A D | ParseExprCXX.cpp | 362 Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier() 905 Actions.CodeCompleteObjCMessageReceiver(getCurScope()); in ParseLambdaIntroducer() 1325 Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); in ParseLambdaExpressionAfterIntroducer() 1438 Actions.ActOnLambdaClosureParameters(getCurScope(), ParamInfo); in ParseLambdaExpressionAfterIntroducer() 1529 Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); in ParseLambdaExpressionAfterIntroducer() 1542 Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); in ParseLambdaExpressionAfterIntroducer() 2451 TNK = Actions.isTemplateName(getCurScope(), SS, in ParseUnqualifiedIdTemplateId() 2703 Actions.CodeCompleteOperatorName(getCurScope()); in ParseUnqualifiedIdOperator() 2906 Actions.isCurrentClassName(*Id, getCurScope(), &SS)) { in ParseUnqualifiedId() 3099 if (Actions.ShouldEnterDeclaratorScope(getCurScope(), SS)) in ParseUnqualifiedId() [all …]
|
| H A D | ParseStmt.cpp | 550 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 706 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement() 844 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 1773 getCurScope()->AddFlags(Scope::BreakScope); in ParseSwitchStatement() 1779 getCurScope()->decrementMSManglingNumber(); in ParseSwitchStatement() 2041 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseForStatement() 2236 getCurScope(), ForLoc, SecondExpr.get(), in ParseForStatement() 2244 if (!getCurScope()->isContinueScope()) in ParseForStatement() 2327 getCurScope()->decrementMSManglingNumber(); in ParseForStatement() 2412 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement() [all …]
|
| H A D | ParseDeclCXX.cpp | 72 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 161 if (getCurScope()->isClassScope() || getCurScope()->isTemplateParamScope() || in ParseNamespace() 162 getCurScope()->isInObjcMethodScope() || getCurScope()->getBlockParent() || in ParseNamespace() 163 getCurScope()->getFnParent()) { in ParseNamespace() 304 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 445 getCurScope(), ExportLoc, in ParseExportDeclaration() 487 Actions.CodeCompleteUsing(getCurScope()); in ParseUsingDirectiveOrDeclaration() 537 Actions.CodeCompleteUsingDirective(getCurScope()); in ParseUsingDirective() 728 Actions.CodeCompleteUsing(getCurScope()); in ParseUsingDeclaration() 1566 Actions.CodeCompleteTag(getCurScope(), TagType); in ParseClassSpecifier() [all …]
|
| H A D | ParseTemplate.cpp | 33 return Actions.getCurScope(); in ReenterTemplateScopes() 246 getCurScope(), AS, DS, ParsedAttributesView::none(), in ParseSingleDeclarationAfterTemplate() 460 return Actions.ActOnConceptDefinition(getCurScope(), in ParseConceptDefinition() 756 auto TNK = Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeConstraint() 871 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() 1476 getCurScope(), SS, TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType() 1559 getCurScope(), SS, in ParseTemplateTemplateArgument() 1751 Actions.PushDeclContext(Actions.getCurScope(), DC); in ParseLateTemplatedFuncDef() 1779 Actions.ActOnStartOfFunctionDef(getCurScope(), FunD); in ParseLateTemplatedFuncDef() 1863 getCurScope(), PotentialTemplateName, Less, Greater); in checkPotentialAngleBracket() [all …]
|
| H A D | ParseDecl.cpp | 2478 S = P.getCurScope(); in ParseDeclarationAfterDeclaratorAndAttributes() 2488 S = P.getCurScope(); in ParseDeclarationAfterDeclaratorAndAttributes() 2976 if (getCurScope()->isFunctionPrototypeScope()) in ParseImplicitInt() 3466 Actions.CodeCompleteDeclSpec(getCurScope(), DS, in ParseDeclarationSpecifiers() 3478 else if (getCurScope()->getFnParent() || getCurScope()->getBlockParent()) in ParseDeclarationSpecifiers() 4762 Actions.ActOnField(getCurScope(), TagDecl, in ParseStructUnionBody() 5356 getCurScope(), attrs); in ParseEnumBody() 5371 bool CanBeBitfield = getCurScope()->isClassScope(); in ParseEnumBody() 7065 assert(getCurScope()->isFunctionPrototypeScope() && in ParseFunctionDeclarator() 7216 for (Decl *D : getCurScope()->decls()) { in ParseFunctionDeclarator() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 41 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 44 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 48 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef() 321 P.Actions.ActOnStartDelayedMemberDeclarations(P.getCurScope(), in ReenterClassScopeRAII() 328 P.Actions.ActOnFinishDelayedMemberDeclarations(P.getCurScope(), in ~ReenterClassScopeRAII() 349 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 360 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() 521 Actions.ActOnFinishDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 562 Actions.ActOnStartOfFunctionDef(getCurScope(), LM.D); in ParseLexedMethodDef() 776 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute()
|
| H A D | ParseInit.cpp | 257 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 294 getCurScope(), II, IILoc, II == Ident_super, in ParseInitializerWithPotentialDesignator()
|
| H A D | ParseOpenMP.cpp | 91 P->getCurScope(), SS, NameInfo, Kind); in operator ()() 367 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective() 378 Actions.ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective() 414 Actions.ActOnOpenMPDeclareReductionInitializerStart(getCurScope(), in ParseOpenMPDeclareReductionDirective() 447 return Actions.ActOnOpenMPDeclareReductionDirectiveEnd(getCurScope(), DRD, in ParseOpenMPDeclareReductionDirective() 459 Actions.CodeCompleteInitializer(getCurScope(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl() 598 getCurScope(), MapperType, Range.getBegin(), VName); in ParseOpenMPDeclareMapperDirective() 628 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective() 693 Actions.ActOnReenterFunctionContext(Actions.getCurScope(), D); in FNContextRAII() 2956 Actions.ActOnOpenMPRegionStart(DKind, getCurScope()); in ParseOpenMPDeclarativeOrExecutableDirective() [all …]
|
| H A D | ParseHLSL.cpp | 74 Decl *D = Actions.ActOnStartHLSLBuffer(getCurScope(), IsCBuffer, BufferLoc, in ParseHLSLBuffer()
|
| H A D | ParseTentative.cpp | 79 getCurScope(), *II, Tok.getLocation(), SS, /*Template=*/nullptr); in isCXXDeclarationStatement() 80 if (Actions.isCurrentClassName(*II, getCurScope(), &SS) || in isCXXDeclarationStatement() 2239 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next, &CCC); in NameAfterArrowIsNonType() 2365 getCurScope(), &SS)) in isExplicitBool()
|
| H A D | ParseOpenACC.cpp | 879 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc, in ParseOpenACCIDExpression()
|
| H A D | ParseStmtAsm.cpp | 662 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 208 ScopeTy *getCurScope() { return CurScope; } in getCurScope() function 209 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaPseudoObject.cpp | 1482 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildGet() 1492 return S.BuildCallExpr(S.getCurScope(), GetterExpr.get(), in buildGet() 1511 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildSet() 1524 return S.BuildCallExpr(S.getCurScope(), SetterExpr.get(), in buildSet()
|
| H A D | SemaStmtAsm.cpp | 786 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier() 838 if (LookupName(BaseResult, getCurScope()) && BaseResult.isSingleResult()) in LookupInlineAsmField()
|
| H A D | SemaOpenMP.cpp | 1000 Scope *getCurScope() const { in getCurScope() function in __anon8e68b8fa0111::DSAStackTy 1690 Scope *CurScope = getCurScope(); in isOpenMPLocal() 5002 if (Stack->getCurScope()) { in checkNestingOfRegions() 9532 DSA.getCurScope(), in checkOpenMPIterationSpace() 9547 DSA.getCurScope(), in checkOpenMPIterationSpace() 9552 DSA.getCurScope(), in checkOpenMPIterationSpace() 9883 Scope *CurScope = DSA.getCurScope(); in checkOpenMPLoop() 11475 if (Scope *S = DSAStack->getCurScope()) { in ActOnOpenMPScanDirective() 15061 Scope *CurScope = getCurScope(); in ActOnOpenMPTileDirective() 15137 Scope *CurScope = getCurScope(); in ActOnOpenMPTileDirective() [all …]
|
| H A D | SemaCoroutine.cpp | 870 if (isWithinCatchScope(S.getCurScope())) { in checkSuspensionContext() 1643 S.BuildCallExpr(S.getCurScope(), NewRef.get(), Loc, NewArgs, Loc); in makeNewAndDeleteExpr() 1693 S.BuildCallExpr(S.getCurScope(), DeleteRef.get(), Loc, DeleteArgs, Loc); in makeNewAndDeleteExpr()
|
| H A D | HLSLExternalSemaSource.cpp | 134 S.LookupParsedName(R, S.getCurScope(), &SS, false); in lookupBuiltinFunction()
|
| H A D | SemaCXXScopeSpec.cpp | 320 for (Scope *S = getCurScope(); S; S = S->getParent()) { in ActOnSuperScopeSpecifier()
|
| H A D | SemaStmt.cpp | 2610 *BeginExpr = SemaRef.ActOnCoawaitExpr(SemaRef.getCurScope(), ColonLoc, in BuildNonArrayForRange() 2766 Scope *S = getCurScope(); in BuildCXXForRangeStmt() 4507 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in ActOnCXXTryBlock()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 266 S.ActOnTranslationUnitScope(P->getCurScope()); in ParseOrWrapTopLevelDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 468 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 3100 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 3107 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|