/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression() 344 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression() 443 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression() 733 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() 870 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 872 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression() 894 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 914 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression() 926 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression() [all …]
|
D | ParseObjc.cpp | 51 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 173 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 220 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration() 243 ObjCTypeParamListScope typeParamScope(Actions, getCurScope()); in ParseObjCAtInterfaceDeclaration() 257 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 322 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 373 Actions.ActOnStartClassInterface(getCurScope(), AtLoc, nameId, nameLoc, in ParseObjCAtInterfaceDeclaration() 462 getCurScope(), in parseObjCTypeParamListOrProtocolRefs() 546 DeclResult typeParam = Actions.actOnObjCTypeParam(getCurScope(), in parseObjCTypeParamListOrProtocolRefs() 596 getCurScope(), in parseObjCTypeParamListOrProtocolRefs() [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() 673 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration() [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 | 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() 132 LM->TemplateScope = getCurScope()->isTemplateParamScope(); in ParseCXXInlineMethodDef() 273 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 283 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 291 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedMethodDeclarations() 300 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 304 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 314 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() [all …]
|
D | ParseStmt.cpp | 169 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 401 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 483 ParseScopeFlags FilterScope(this, getCurScope()->getFlags() | in ParseSEHExceptBlock() 543 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement() 653 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 812 SubStmt.get(), getCurScope()); in ParseDefaultStatement() 951 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseCompoundStatementBody() 1052 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get()); in ParseParenExprOrCondition() 1180 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement() 1275 getCurScope()->AddFlags(Scope::BreakScope); in ParseSwitchStatement() [all …]
|
D | ParseDecl.cpp | 69 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 377 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs() 1134 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes() 1144 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1153 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 1248 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute() 1533 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1799 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup() 1804 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl); in ParseDeclGroup() 1874 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseDeclGroup() [all …]
|
D | 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() 707 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter() 1122 Actions.ActOnDependentTemplateName(getCurScope(), in ParseTemplateTemplateArgument() 1140 TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseTemplateTemplateArgument() 1344 Actions.ActOnReenterTemplateScope(getCurScope(), cast<Decl>(*II)); in ParseLateTemplatedFuncDef() 1348 Actions.PushDeclContext(Actions.getCurScope(), *II); in ParseLateTemplatedFuncDef() 1372 Actions.ActOnStartOfFunctionDef(getCurScope(), FunD); in ParseLateTemplatedFuncDef()
|
D | ParseInit.cpp | 217 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 256 getCurScope(), II, IILoc, II == Ident_super, in ParseInitializerWithPotentialDesignator()
|
D | ParseOpenMP.cpp | 270 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective() 314 Actions.ActOnOpenMPRegionStart(DKind, getCurScope()); in ParseOpenMPDeclarativeOrExecutableDirective() 386 Actions.ActOnOpenMPIdExpression(getCurScope(), SS, NameInfo); in ParseOpenMPSimpleVarList()
|
D | ParseStmtAsm.cpp | 600 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
|
D | ParsePragma.cpp | 325 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused() 437 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 | 572 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier() 626 if (!LookupName(BaseResult, getCurScope())) in LookupInlineAsmField()
|
D | SemaPseudoObject.cpp | 1476 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildGet() 1486 return S.ActOnCallExpr(S.getCurScope(), GetterExpr.get(), in buildGet() 1505 S.ActOnMemberAccessExpr(S.getCurScope(), InstanceBase, SourceLocation(), in buildSet() 1518 return S.ActOnCallExpr(S.getCurScope(), SetterExpr.get(), in buildSet()
|
D | SemaOpenMP.cpp | 329 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope() function in __anon216cbd260111::DSAStackTy 330 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope() function in __anon216cbd260111::DSAStackTy 521 Scope *CurScope = getCurScope(); in isOpenMPLocal() 851 if (DSAStack->getCurScope() && in IsOpenMPCapturedVar() 979 SemaRef.getCurScope()); in ValidateCandidate() 2214 if (Stack->getCurScope()) { in CheckNestingOfRegions() 3509 ResultIterSpace.PreCond = ISC.BuildPreCond(DSA.getCurScope(), For->getCond()); in CheckOpenMPIterationSpace() 3511 DSA.getCurScope(), (isOpenMPWorksharingDirective(DKind) || in CheckOpenMPIterationSpace() 3743 Scope *CurScope = DSA.getCurScope(); in CheckOpenMPLoop() 5638 ExprResult Val = ActOnBooleanCondition(DSAStack->getCurScope(), in ActOnOpenMPIfClause() [all …]
|
D | SemaCXXScopeSpec.cpp | 257 for (Scope *S = getCurScope(); S; S = S->getParent()) { in ActOnSuperScopeSpecifier()
|
D | SemaStmt.cpp | 2159 Scope *S = getCurScope(); in BuildCXXForRangeStmt() 3579 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in ActOnCXXTryBlock()
|
D | Sema.cpp | 1114 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
D | SemaExprMember.cpp | 1015 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
D | SemaExprCXX.cpp | 645 if (getCurScope() && getCurScope()->isOpenMPSimdDirectiveScope()) in BuildCXXThrow()
|
D | SemaChecking.cpp | 248 Scope *S = SemaRef.getCurScope(); in SemaBuiltinSEHScopeCheck() 4308 if (S.LookupName(Result, S.getCurScope())) { in checkFormatExpr() 5010 S.LookupName(R, S.getCurScope()); in emitReplacement()
|
D | SemaType.cpp | 2860 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 6048 ExprResult Size = S.ActOnIdExpression(S.getCurScope(), SS, TemplateKWLoc, in HandleExtVectorTypeAttr()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 251 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 2262 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 2269 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|