/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 50 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 141 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 188 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration() 213 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 271 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 366 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCInterfaceDeclList() 387 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList() 475 getCurScope(), AtLoc, LParenLoc, FD, OCDS, GetterSel, SetterSel, in ParseObjCInterfaceDeclList() 495 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList() 510 Actions.ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables); in ParseObjCInterfaceDeclList() [all …]
|
D | ParseExpr.cpp | 150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression() 324 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression() 415 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression() 705 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() 844 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 846 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression() 868 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 888 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression() 900 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 | 355 N->Init(getCurScope(), ScopeFlags); in EnterScope() 358 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 364 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 368 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope() 370 Scope *OldScope = getCurScope(); in ExitScope() 383 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 404 delete getCurScope(); in ~Parser() 424 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize() 426 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() 649 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration() [all …]
|
D | 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 …]
|
D | ParseCXXInlineMethods.cpp | 43 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 46 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 50 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef() 135 LM->TemplateScope = getCurScope()->isTemplateParamScope(); in ParseCXXInlineMethodDef() 276 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 286 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 294 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 303 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 307 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 317 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() [all …]
|
D | ParseStmt.cpp | 172 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 395 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 477 ParseScopeFlags FilterScope(this, getCurScope()->getFlags() | in ParseSEHExceptBlock() 537 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement() 647 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 806 SubStmt.get(), getCurScope()); in ParseDefaultStatement() 942 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseCompoundStatementBody() 1042 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get()); in ParseParenExprOrCondition() 1170 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement() 1265 getCurScope()->AddFlags(Scope::BreakScope); in ParseSwitchStatement() [all …]
|
D | ParseDecl.cpp | 67 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 375 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs() 1104 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes() 1114 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1123 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1220 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute() 1467 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1733 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup() 1738 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl); in ParseDeclGroup() 1808 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseDeclGroup() [all …]
|
D | ParseTemplate.cpp | 202 getCurScope(), AS, DS, in ParseSingleDeclarationAfterTemplate() 531 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter() 642 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter() 695 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter() 1102 Actions.ActOnDependentTemplateName(getCurScope(), in ParseTemplateTemplateArgument() 1120 TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseTemplateTemplateArgument() 1323 Actions.ActOnReenterTemplateScope(getCurScope(), cast<Decl>(*II)); in ParseLateTemplatedFuncDef() 1327 Actions.PushDeclContext(Actions.getCurScope(), *II); in ParseLateTemplatedFuncDef() 1351 Actions.ActOnStartOfFunctionDef(getCurScope(), FunD); in ParseLateTemplatedFuncDef()
|
D | ParseInit.cpp | 217 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 256 = Actions.getObjCMessageKind(getCurScope(), II, IILoc, in ParseInitializerWithPotentialDesignator()
|
D | ParseOpenMP.cpp | 224 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective() 255 Actions.ActOnOpenMPRegionStart(DKind, getCurScope()); in ParseOpenMPDeclarativeOrExecutableDirective() 328 Actions.ActOnOpenMPIdExpression(getCurScope(), SS, NameInfo); in ParseOpenMPSimpleVarList()
|
D | ParseStmtAsm.cpp | 578 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
|
D | ParsePragma.cpp | 317 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused() 427 Actions.ActOnCapturedRegionStart(Loc, getCurScope(), CR_Default, in HandlePragmaCaptured()
|
/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/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 508 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier() 565 if (!LookupName(BaseResult, getCurScope())) in LookupInlineAsmField()
|
D | SemaPseudoObject.cpp | 1443 S.getCurScope(), RefExpr->getBaseExpr(), SourceLocation(), in buildGet() 1454 return S.ActOnCallExpr(S.getCurScope(), GetterExpr.get(), in buildGet() 1473 S.getCurScope(), RefExpr->getBaseExpr(), SourceLocation(), in buildSet() 1485 return S.ActOnCallExpr(S.getCurScope(), SetterExpr.get(), in buildSet()
|
D | SemaOpenMP.cpp | 229 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope() function in __anon216cbd260111::DSAStackTy 230 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope() function in __anon216cbd260111::DSAStackTy 382 Scope *CurScope = getCurScope(); in isOpenMPLocal() 649 SemaRef.getCurScope()); in ValidateCandidate() 1609 if (Stack->getCurScope()) { in CheckNestingOfRegions() 2539 DSA.getCurScope(), /* LimitedType */ isOpenMPWorksharingDirective(DKind)); in CheckOpenMPIterationSpace() 2703 Scope *CurScope = DSA.getCurScope(); in CheckOpenMPLoop() 4068 ExprResult Val = ActOnBooleanCondition(DSAStack->getCurScope(), in ActOnOpenMPIfClause() 4087 ExprResult Val = ActOnBooleanCondition(DSAStack->getCurScope(), in ActOnOpenMPFinalClause() 5600 BuildBinOp(DSAStack->getCurScope(), ReductionId.getLocStart(), BOK, in ActOnOpenMPReductionClause() [all …]
|
D | SemaCXXScopeSpec.cpp | 257 for (Scope *S = getCurScope(); S; S = S->getParent()) { in ActOnSuperScopeSpecifier()
|
D | SemaStmt.cpp | 2118 Scope *S = getCurScope(); in BuildCXXForRangeStmt() 3529 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in ActOnCXXTryBlock()
|
D | Sema.cpp | 1064 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
D | SemaExprMember.cpp | 980 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
D | SemaType.cpp | 2412 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 4757 ExprResult Size = S.ActOnIdExpression(S.getCurScope(), SS, TemplateKWLoc, in HandleExtVectorTypeAttr()
|
D | SemaExprCXX.cpp | 646 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in BuildCXXThrow()
|
D | SemaChecking.cpp | 214 Scope *S = SemaRef.getCurScope(); in SemaBuiltinSEHScopeCheck() 3833 if (S.LookupName(Result, S.getCurScope())) { in checkFormatExpr() 4535 S.LookupName(R, S.getCurScope()); in emitReplacement()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 247 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 2172 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 2179 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|