/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 210 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 219 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression() 347 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression() 435 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression() 712 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() 813 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 815 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression() 837 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 857 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression() 868 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression() [all …]
|
D | ParseObjc.cpp | 36 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 128 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 175 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration() 197 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 254 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 339 P.Actions.ActOnProperty(P.getCurScope(), AtLoc, LParenLoc, in invoke() 410 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCInterfaceDeclList() 431 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList() 507 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList() 522 Actions.ActOnAtEnd(getCurScope(), AtEnd, in ParseObjCInterfaceDeclList() [all …]
|
D | ParseCXXInlineMethods.cpp | 44 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 47 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 51 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs, in ParseCXXInlineMethodDef() 142 LM->TemplateScope = getCurScope()->isTemplateParamScope(); in ParseCXXInlineMethodDef() 267 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 275 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 282 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 289 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 292 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 300 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), in ParseLexedMethodDeclaration() [all …]
|
D | ParseDeclCXX.cpp | 59 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 110 if (getCurScope()->isClassScope() || getCurScope()->isTemplateParamScope() || in ParseNamespace() 111 getCurScope()->isInObjcMethodScope() || getCurScope()->getBlockParent() || in ParseNamespace() 112 getCurScope()->getFnParent()) { in ParseNamespace() 160 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace() 206 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace() 231 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 256 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, Alias, in ParseNamespaceAlias() 284 = Actions.ActOnStartLinkageSpecification(getCurScope(), in ParseLinkage() 302 return Actions.ActOnFinishLinkageSpecification(getCurScope(), LinkageSpec, in ParseLinkage() [all …]
|
D | Parser.cpp | 365 N->Init(getCurScope(), ScopeFlags); in EnterScope() 368 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 374 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 378 if (!getCurScope()->decl_empty()) in ExitScope() 379 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope() 381 Scope *OldScope = getCurScope(); in ExitScope() 394 : CurScope(ManageFlags ? Self->getCurScope() : 0) { in ParseScopeFlags() 415 delete getCurScope(); in ~Parser() 465 assert(getCurScope() == 0 && "A scope is already active?"); in Initialize() 467 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() [all …]
|
D | ParseExprCXX.cpp | 90 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph() 161 if (Actions.ActOnCXXGlobalScopeSpecifier(getCurScope(), ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier() 206 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier() 269 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier() 307 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier() 343 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier() 361 !Actions.isNonTypeNestedNameSpecifier(getCurScope(), SS, Tok.getLocation(), in ParseOptionalCXXScopeSpecifier() 375 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier() 391 if (TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseOptionalCXXScopeSpecifier() 426 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier() [all …]
|
D | ParseDecl.cpp | 59 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 841 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes() 851 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 860 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 945 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute() 1234 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1457 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup() 1461 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, &ThisDecl, 1); in ParseDeclGroup() 1528 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, in ParseDeclGroup() 1589 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclarationAfterDeclaratorAndAttributes() [all …]
|
D | ParseTemplate.cpp | 232 Decl *Decl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseSingleDeclarationAfterTemplate() 525 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, Ellipsis, in ParseTypeParameter() 623 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter() 673 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter() 1041 Actions.ActOnDependentTemplateName(getCurScope(), in ParseTemplateTemplateArgument() 1061 TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseTemplateTemplateArgument() 1266 Actions.ActOnReenterDeclaratorTemplateScope(getCurScope(), Declarator); in ParseLateTemplatedFuncDef() 1267 Actions.ActOnReenterTemplateScope(getCurScope(), LMT.D); in ParseLateTemplatedFuncDef() 1285 Actions.ActOnReenterTemplateScope(getCurScope(), MD); in ParseLateTemplatedFuncDef() 1290 Actions.ActOnReenterTemplateScope(getCurScope(), in ParseLateTemplatedFuncDef() [all …]
|
D | ParseStmt.cpp | 123 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 290 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 486 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 628 SubStmt.get(), getCurScope()); in ParseDefaultStatement() 714 DeclGroupPtrTy Res = Actions.FinalizeDeclaratorGroup(getCurScope(), DS, in ParseCompoundStatementBody() 826 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get()); in ParseParenExprOrCondition() 956 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement() 1293 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseForStatement() 1341 Actions.CodeCompleteObjCForCollection(getCurScope(), DG); in ParseForStatement() 1369 Actions.CodeCompleteObjCForCollection(getCurScope(), DeclGroupPtrTy()); in ParseForStatement() [all …]
|
D | ParseInit.cpp | 235 getCurScope()->isInObjcMethodScope()) { in ParseInitializerWithPotentialDesignator() 274 = Actions.getObjCMessageKind(getCurScope(), II, IILoc, in ParseInitializerWithPotentialDesignator()
|
D | ParsePragma.cpp | 28 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused()
|
/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/include/clang/Parse/ |
D | Parser.h | 237 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 1931 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 1938 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 623 ExprResult Result = ActOnIdExpression(getCurScope(), SS, Loc, Id, in ActOnMSAsmStmt()
|
D | Sema.cpp | 938 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
D | SemaExprMember.cpp | 864 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
D | SemaType.cpp | 2100 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 4042 ExprResult Size = S.ActOnIdExpression(S.getCurScope(), SS, TemplateKWLoc, in HandleExtVectorTypeAttr()
|
D | SemaStmt.cpp | 1810 Scope *S = getCurScope(); in BuildCXXForRangeStmt()
|
D | SemaExpr.cpp | 11806 if (LookupName(Result, getCurScope())) { in ActOnObjCBoolLiteral()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7239 Scope *getCurScope() const { return CurScope; } in getCurScope() function
|