| /NextBSD/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParseObjc.cpp | 51 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 127 Actions.popObjCTypeParamList(getCurScope(), TypeParams); in ParseObjCAtClassDeclaration() 154 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 201 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration() 239 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 290 Actions.popObjCTypeParamList(getCurScope(), typeParameterList); in ParseObjCAtInterfaceDeclaration() 307 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 359 Actions.ActOnStartClassInterface(getCurScope(), AtLoc, nameId, nameLoc, in ParseObjCAtInterfaceDeclaration() 375 Actions.popObjCTypeParamList(getCurScope(), typeParameterList); in ParseObjCAtInterfaceDeclaration() 452 getCurScope(), in parseObjCTypeParamListOrProtocolRefs() [all …]
|
| HD | ParseExpr.cpp | 150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression() 342 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression() 441 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression() 730 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() 867 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 869 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression() 891 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 911 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression() 923 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression() [all …]
|
| HD | ParseExprCXX.cpp | 94 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph() 291 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier() 358 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier() 399 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier() 434 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier() 463 getCurScope(), SS, Tok.getLocation(), II, ObjectType)) { in ParseOptionalCXXScopeSpecifier() 499 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier() 526 if (TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseOptionalCXXScopeSpecifier() 561 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier() 608 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name, in tryParseCXXIdExpression() [all …]
|
| HD | Parser.cpp | 375 N->Init(getCurScope(), ScopeFlags); in EnterScope() 378 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 384 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 388 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope() 390 Scope *OldScope = getCurScope(); in ExitScope() 403 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 424 delete getCurScope(); in ~Parser() 453 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize() 455 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() 672 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration() [all …]
|
| HD | ParseDeclCXX.cpp | 65 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 131 if (getCurScope()->isClassScope() || getCurScope()->isTemplateParamScope() || in ParseNamespace() 132 getCurScope()->isInObjcMethodScope() || getCurScope()->getBlockParent() || in ParseNamespace() 133 getCurScope()->getFnParent()) { in ParseNamespace() 184 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace() 232 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace() 257 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 282 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, Alias, in ParseNamespaceAlias() 302 getCurScope(), DS.getSourceRange().getBegin(), Lang.get(), in ParseLinkage() 318 getCurScope(), LinkageSpec, SourceLocation()) in ParseLinkage() [all …]
|
| HD | ParseCXXInlineMethods.cpp | 42 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 45 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 49 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef() 130 LM->TemplateScope = getCurScope()->isTemplateParamScope(); in ParseCXXInlineMethodDef() 271 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 281 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 289 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 298 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 302 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 312 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() [all …]
|
| HD | ParseStmt.cpp | 169 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 392 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 474 ParseScopeFlags FilterScope(this, getCurScope()->getFlags() | in ParseSEHExceptBlock() 534 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement() 644 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 803 SubStmt.get(), getCurScope()); in ParseDefaultStatement() 939 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseCompoundStatementBody() 1039 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get()); in ParseParenExprOrCondition() 1167 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement() 1262 getCurScope()->AddFlags(Scope::BreakScope); in ParseSwitchStatement() [all …]
|
| HD | ParseDecl.cpp | 67 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 376 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs() 1135 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes() 1145 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1154 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1251 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute() 1538 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1804 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup() 1809 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl); in ParseDeclGroup() 1879 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseDeclGroup() [all …]
|
| HD | ParseTemplate.cpp | 214 getCurScope(), AS, DS, in ParseSingleDeclarationAfterTemplate() 543 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter() 653 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter() 706 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter() 1121 Actions.ActOnDependentTemplateName(getCurScope(), in ParseTemplateTemplateArgument() 1139 TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseTemplateTemplateArgument() 1343 Actions.ActOnReenterTemplateScope(getCurScope(), cast<Decl>(*II)); in ParseLateTemplatedFuncDef() 1347 Actions.PushDeclContext(Actions.getCurScope(), *II); in ParseLateTemplatedFuncDef() 1371 Actions.ActOnStartOfFunctionDef(getCurScope(), FunD); in ParseLateTemplatedFuncDef()
|
| HD | ParseInit.cpp | 217 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 256 getCurScope(), II, IILoc, II == Ident_super, in ParseInitializerWithPotentialDesignator()
|
| HD | ParseOpenMP.cpp | 251 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective() 284 Actions.ActOnOpenMPRegionStart(DKind, getCurScope()); in ParseOpenMPDeclarativeOrExecutableDirective() 358 Actions.ActOnOpenMPIdExpression(getCurScope(), SS, NameInfo); in ParseOpenMPSimpleVarList()
|
| HD | ParseStmtAsm.cpp | 578 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
|
| HD | ParsePragma.cpp | 317 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused() 427 Actions.ActOnCapturedRegionStart(Loc, getCurScope(), CR_Default, in HandlePragmaCaptured()
|
| /NextBSD/contrib/llvm/include/llvm/ADT/ |
| HD | ScopedHashTable.h | 202 ScopeTy *getCurScope() { return CurScope; } in getCurScope() function 203 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() function
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaStmtAsm.cpp | 518 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier() 575 if (!LookupName(BaseResult, getCurScope())) in LookupInlineAsmField()
|
| HD | SemaPseudoObject.cpp | 1427 S.getCurScope(), RefExpr->getBaseExpr(), SourceLocation(), in buildGet() 1438 return S.ActOnCallExpr(S.getCurScope(), GetterExpr.get(), in buildGet() 1457 S.getCurScope(), RefExpr->getBaseExpr(), SourceLocation(), in buildSet() 1469 return S.ActOnCallExpr(S.getCurScope(), SetterExpr.get(), in buildSet()
|
| HD | SemaOpenMP.cpp | 279 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope() function in __anona5ec887d0111::DSAStackTy 280 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope() function in __anona5ec887d0111::DSAStackTy 444 Scope *CurScope = getCurScope(); in isOpenMPLocal() 770 SemaRef.getCurScope()); in ValidateCandidate() 1838 if (Stack->getCurScope()) { in CheckNestingOfRegions() 2967 ResultIterSpace.PreCond = ISC.BuildPreCond(DSA.getCurScope(), For->getCond()); in CheckOpenMPIterationSpace() 2969 DSA.getCurScope(), /* LimitedType */ isOpenMPWorksharingDirective(DKind)); in CheckOpenMPIterationSpace() 3179 Scope *CurScope = DSA.getCurScope(); in CheckOpenMPLoop() 4631 ExprResult Val = ActOnBooleanCondition(DSAStack->getCurScope(), in ActOnOpenMPIfClause() 4650 ExprResult Val = ActOnBooleanCondition(DSAStack->getCurScope(), in ActOnOpenMPFinalClause() [all …]
|
| HD | SemaCXXScopeSpec.cpp | 257 for (Scope *S = getCurScope(); S; S = S->getParent()) { in ActOnSuperScopeSpecifier()
|
| HD | SemaStmt.cpp | 2129 Scope *S = getCurScope(); in BuildCXXForRangeStmt() 3542 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in ActOnCXXTryBlock()
|
| HD | Sema.cpp | 1086 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
| HD | SemaExprMember.cpp | 963 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
| HD | SemaExprCXX.cpp | 645 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in BuildCXXThrow()
|
| HD | SemaChecking.cpp | 214 Scope *S = SemaRef.getCurScope(); in SemaBuiltinSEHScopeCheck() 4141 if (S.LookupName(Result, S.getCurScope())) { in checkFormatExpr() 4843 S.LookupName(R, S.getCurScope()); in emitReplacement()
|
| HD | SemaType.cpp | 2824 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 5955 ExprResult Size = S.ActOnIdExpression(S.getCurScope(), SS, TemplateKWLoc, in HandleExtVectorTypeAttr()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Parse/ |
| HD | Parser.h | 250 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 2259 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 2266 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|