/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 52 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 178 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 225 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration() 248 ObjCTypeParamListScope typeParamScope(Actions, getCurScope()); in ParseObjCAtInterfaceDeclaration() 262 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 327 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 373 Actions.ActOnStartClassInterface(getCurScope(), AtLoc, nameId, nameLoc, in ParseObjCAtInterfaceDeclaration() 462 getCurScope(), ObjCTypeParamVariance::Invariant, SourceLocation(), in parseObjCTypeParamListOrProtocolRefs() 540 getCurScope(), variance, varianceLoc, typeParams.size(), paramName, in parseObjCTypeParamListOrProtocolRefs() 582 getCurScope(), in parseObjCTypeParamListOrProtocolRefs() [all …]
|
D | ParseExpr.cpp | 150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression() 347 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression() 447 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression() 746 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() 884 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 886 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression() 908 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 928 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression() 940 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression() [all …]
|
D | 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 …]
|
D | Parser.cpp | 376 N->Init(getCurScope(), ScopeFlags); in EnterScope() 379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 385 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 389 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope() 391 Scope *OldScope = getCurScope(); in ExitScope() 404 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 425 delete getCurScope(); in ~Parser() 454 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize() 456 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() 680 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration() [all …]
|
D | 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() 139 LM->TemplateScope = getCurScope()->isTemplateParamScope(); in ParseCXXInlineMethodDef() 280 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 290 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 298 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 307 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 311 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 321 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() [all …]
|
D | ParseDeclCXX.cpp | 66 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 132 if (getCurScope()->isClassScope() || getCurScope()->isTemplateParamScope() || in ParseNamespace() 133 getCurScope()->isInObjcMethodScope() || getCurScope()->getBlockParent() || in ParseNamespace() 134 getCurScope()->getFnParent()) { in ParseNamespace() 186 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace() 237 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace() 263 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 288 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, in ParseNamespaceAlias() 308 getCurScope(), DS.getSourceRange().getBegin(), Lang.get(), in ParseLinkage() 324 getCurScope(), LinkageSpec, SourceLocation()) in ParseLinkage() [all …]
|
D | ParseStmt.cpp | 176 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 413 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 495 ParseScopeFlags FilterScope(this, getCurScope()->getFlags() | in ParseSEHExceptBlock() 555 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement() 666 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 828 SubStmt.get(), getCurScope()); in ParseDefaultStatement() 970 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseCompoundStatementBody() 1072 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK); in ParseParenExprOrCondition() 1222 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement() 1318 getCurScope()->AddFlags(Scope::BreakScope); in ParseSwitchStatement() [all …]
|
D | ParseDecl.cpp | 70 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 378 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs() 1165 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes() 1175 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1184 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1279 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute() 1565 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1835 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup() 1840 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl); in ParseDeclGroup() 1910 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseDeclGroup() [all …]
|
D | ParseTemplate.cpp | 149 unsigned NewFlags = getCurScope()->getFlags() & ~Scope::TemplateParamScope; in ParseTemplateDeclarationOrSpecialization() 216 getCurScope(), AS, DS, in ParseSingleDeclarationAfterTemplate() 548 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter() 657 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter() 711 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter() 1143 getCurScope(), SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument() 1160 getCurScope(), SS, in ParseTemplateTemplateArgument() 1361 Actions.ActOnReenterTemplateScope(getCurScope(), cast<Decl>(*II)); in ParseLateTemplatedFuncDef() 1365 Actions.PushDeclContext(Actions.getCurScope(), *II); in ParseLateTemplatedFuncDef() 1389 Actions.ActOnStartOfFunctionDef(getCurScope(), FunD); in ParseLateTemplatedFuncDef()
|
D | ParseOpenMP.cpp | 54 P->getActions().ActOnOpenMPIdExpression(P->getCurScope(), SS, NameInfo); in operator ()() 283 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective() 293 Actions.ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective() 328 Actions.ActOnOpenMPDeclareReductionInitializerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective() 353 return Actions.ActOnOpenMPDeclareReductionDirectiveEnd(getCurScope(), DRD, in ParseOpenMPDeclareReductionDirective() 390 Actions.ActOnReenterTemplateScope(Actions.getCurScope(), D); in FNContextRAII() 397 Actions.ActOnReenterFunctionContext(Actions.getCurScope(), D); in FNContextRAII() 648 Actions.ActOnOpenMPDeclareTargetName(getCurScope(), SS, NameInfo, MT, in ParseOpenMPDeclarativeDirectiveWithExtDecl() 912 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective() 956 Actions.ActOnOpenMPRegionStart(DKind, getCurScope()); in ParseOpenMPDeclarativeOrExecutableDirective()
|
D | ParseInit.cpp | 217 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 254 getCurScope(), II, IILoc, II == Ident_super, in ParseInitializerWithPotentialDesignator()
|
D | ParsePragma.cpp | 326 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused() 382 Actions.ActOnPragmaDump(getCurScope(), Tok.getLocation(), II); in HandlePragmaDump() 443 Actions.ActOnCapturedRegionStart(Loc, getCurScope(), CR_Default, in HandlePragmaCaptured()
|
D | ParseStmtAsm.cpp | 638 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
|
/external/llvm/include/llvm/ADT/ |
D | ScopedHashTable.h | 202 ScopeTy *getCurScope() { return CurScope; } in getCurScope() function 203 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | ScopedHashTable.h | 210 ScopeTy *getCurScope() { return CurScope; } in getCurScope() function 211 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() function
|
/external/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 1477 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildGet() 1487 return S.ActOnCallExpr(S.getCurScope(), GetterExpr.get(), in buildGet() 1506 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildSet() 1519 return S.ActOnCallExpr(S.getCurScope(), SetterExpr.get(), in buildSet()
|
D | SemaStmtAsm.cpp | 572 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier() 624 if (!LookupName(BaseResult, getCurScope())) in LookupInlineAsmField()
|
D | SemaOpenMP.cpp | 322 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope() function in __anonb96bcdf10111::DSAStackTy 323 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope() function in __anonb96bcdf10111::DSAStackTy 608 Scope *CurScope = getCurScope(); in isOpenMPLocal() 1127 SemaRef.getCurScope()); in ValidateCandidate() 1143 SemaRef.getCurScope()); in ValidateCandidate() 3101 if (Stack->getCurScope()) { in CheckNestingOfRegions() 4736 ISC.BuildPreCond(DSA.getCurScope(), For->getCond(), Captures); in CheckOpenMPIterationSpace() 4738 DSA.getCurScope(), in CheckOpenMPIterationSpace() 5035 Scope *CurScope = DSA.getCurScope(); in CheckOpenMPLoop() 8753 BuildBinOp(DSAStack->getCurScope(), ELoc, BO_Assign, SimpleRefExpr, in ActOnOpenMPLastprivateClause() [all …]
|
D | SemaCXXScopeSpec.cpp | 282 for (Scope *S = getCurScope(); S; S = S->getParent()) { in ActOnSuperScopeSpecifier()
|
D | SemaStmt.cpp | 2181 Scope *S = getCurScope(); in BuildCXXForRangeStmt() 3647 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in ActOnCXXTryBlock()
|
D | Sema.cpp | 1107 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
D | SemaExprMember.cpp | 1055 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
D | SemaType.cpp | 3073 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 6381 ExprResult Size = S.ActOnIdExpression(S.getCurScope(), SS, TemplateKWLoc, in HandleExtVectorTypeAttr()
|
D | SemaExprCXX.cpp | 686 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in BuildCXXThrow()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 257 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 2312 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 2319 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|