/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 149 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 158 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression() 308 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression() 396 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression() 673 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression() 772 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression() 774 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression() 796 getCurScope()->isInObjcMethodScope() && in ParseCastExpression() 816 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression() 827 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression() [all …]
|
D | ParseObjc.cpp | 38 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 130 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts() 177 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration() 199 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 256 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration() 341 P.Actions.ActOnProperty(P.getCurScope(), AtLoc, LParenLoc, in invoke() 412 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCInterfaceDeclList() 433 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList() 509 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList() 524 Actions.ActOnAtEnd(getCurScope(), AtEnd, in ParseObjCInterfaceDeclList() [all …]
|
D | ParseCXXInlineMethods.cpp | 51 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 54 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 58 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs, in ParseCXXInlineMethodDef() 145 LM->TemplateScope = getCurScope()->isTemplateParamScope(); in ParseCXXInlineMethodDef() 283 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 291 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 298 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), Class.TagOrTemplate); in ParseLexedMethodDeclarations() 305 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 308 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); in ParseLexedMethodDeclaration() 316 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), in ParseLexedMethodDeclaration() [all …]
|
D | Parser.cpp | 346 N->Init(getCurScope(), ScopeFlags); in EnterScope() 349 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 355 assert(getCurScope() && "Scope imbalance!"); in ExitScope() 359 if (!getCurScope()->decl_empty()) in ExitScope() 360 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope() 362 Scope *OldScope = getCurScope(); in ExitScope() 375 : CurScope(ManageFlags ? Self->getCurScope() : 0) { in ParseScopeFlags() 396 delete getCurScope(); in ~Parser() 446 assert(getCurScope() == 0 && "A scope is already active?"); in Initialize() 448 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() [all …]
|
D | ParseExprCXX.cpp | 90 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph() 200 if (Actions.ActOnCXXGlobalScopeSpecifier(getCurScope(), ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier() 247 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier() 310 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier() 348 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier() 384 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier() 402 !Actions.isNonTypeNestedNameSpecifier(getCurScope(), SS, Tok.getLocation(), in ParseOptionalCXXScopeSpecifier() 418 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier() 434 if (TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseOptionalCXXScopeSpecifier() 469 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier() [all …]
|
D | ParseDeclCXX.cpp | 61 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 118 if (getCurScope()->isClassScope() || getCurScope()->isTemplateParamScope() || in ParseNamespace() 119 getCurScope()->isInObjcMethodScope() || getCurScope()->getBlockParent() || in ParseNamespace() 120 getCurScope()->getFnParent()) { in ParseNamespace() 168 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace() 214 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace() 239 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 264 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, Alias, in ParseNamespaceAlias() 292 = Actions.ActOnStartLinkageSpecification(getCurScope(), in ParseLinkage() 310 return Actions.ActOnFinishLinkageSpecification(getCurScope(), LinkageSpec, in ParseLinkage() [all …]
|
D | ParseDecl.cpp | 64 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 880 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes() 890 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 899 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes() 990 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute() 1311 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1536 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup() 1540 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, &ThisDecl, 1); in ParseDeclGroup() 1607 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, in ParseDeclGroup() 1668 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclarationAfterDeclaratorAndAttributes() [all …]
|
D | ParseTemplate.cpp | 218 getCurScope(), AS, DS, in ParseSingleDeclarationAfterTemplate() 510 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, Ellipsis, in ParseTypeParameter() 608 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter() 658 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter() 1040 Actions.ActOnDependentTemplateName(getCurScope(), in ParseTemplateTemplateArgument() 1060 TemplateNameKind TNK = Actions.isTemplateName(getCurScope(), SS, in ParseTemplateTemplateArgument() 1265 Actions.ActOnReenterDeclaratorTemplateScope(getCurScope(), Declarator); in ParseLateTemplatedFuncDef() 1266 Actions.ActOnReenterTemplateScope(getCurScope(), LMT.D); in ParseLateTemplatedFuncDef() 1284 Actions.ActOnReenterTemplateScope(getCurScope(), MD); in ParseLateTemplatedFuncDef() 1289 Actions.ActOnReenterTemplateScope(getCurScope(), in ParseLateTemplatedFuncDef() [all …]
|
D | ParseStmt.cpp | 123 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 325 if (Tok.is(tok::colon) && getCurScope()->isSwitchScope() && in ParseExprStatement() 521 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement() 663 SubStmt.get(), getCurScope()); in ParseDefaultStatement() 799 DeclGroupPtrTy Res = Actions.FinalizeDeclaratorGroup(getCurScope(), DS, in ParseCompoundStatementBody() 906 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get()); in ParseParenExprOrCondition() 1036 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement() 1368 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseForStatement() 1413 Actions.CodeCompleteObjCForCollection(getCurScope(), DG); in ParseForStatement() 1441 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/lib/Sema/ |
D | SemaStmtAsm.cpp | 499 if (!LookupName(Result, getCurScope())) { in LookupInlineAsmIdentifier() 538 if (!LookupName(BaseResult, getCurScope())) in LookupInlineAsmField() 682 OpExpr = BuildUnaryOp(getCurScope(), AsmLoc, clang::UO_AddrOf, in ActOnMSAsmStmt()
|
D | Sema.cpp | 981 for (Scope *S = getCurScope(); S; S = S->getParent()) { in getScopeForContext()
|
D | SemaExprMember.cpp | 856 RetryExpr = ActOnStartCXXMemberReference(getCurScope(), BaseExpr, in BuildMemberReferenceExpr()
|
D | SemaType.cpp | 2240 if (S.LookupName(Result, S.getCurScope())) in warnAboutAmbiguousFunction() 4228 ExprResult Size = S.ActOnIdExpression(S.getCurScope(), SS, TemplateKWLoc, in HandleExtVectorTypeAttr()
|
D | SemaStmt.cpp | 1865 Scope *S = getCurScope(); in BuildCXXForRangeStmt()
|
D | SemaChecking.cpp | 2793 if (S.LookupName(Result, S.getCurScope())) { in checkFormatExpr()
|
D | SemaExpr.cpp | 12163 if (LookupName(Result, getCurScope()) && Result.isSingleResult()) { in ActOnObjCBoolLiteral()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 205 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope() function 1973 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope() 1980 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7460 Scope *getCurScope() const { return CurScope; } in getCurScope() function
|