Lines Matching refs:curDeclScope
101 new (scopeAllocator.Allocate()) ast::DeclScope(curDeclScope); in pushDeclScope()
102 return (curDeclScope = newScope); in pushDeclScope()
104 void pushDeclScope(ast::DeclScope *scope) { curDeclScope = scope; } in pushDeclScope()
107 void popDeclScope() { curDeclScope = curDeclScope->getParentScope(); } in popDeclScope()
551 ast::DeclScope *curDeclScope = nullptr; member in __anonbc0fc15d0111::Parser
878 return def->isAnonymous() || curDeclScope->lookup(def->getName()) || in processTdIncludeRecords()
943 curDeclScope->add(constraintDecl); in createODSNativePDLLConstraintDecl()
1000 curDeclScope->add(*decl); in parseTopLevelDecl()
1081 ast::Decl *existingDecl = curDeclScope->lookup(curToken.getSpelling()); in parseResultDecl()
1138 curDeclScope->add(*decl); in parseInlineUserConstraintDecl()
1204 curDeclScope->add(*decl); in parseInlineUserRewriteDecl()
1214 curDeclScope = argumentScope; in parseUserPDLLRewriteDecl()
1571 assert(curDeclScope && "defining decl outside of a decl scope"); in checkDefineNamedDecl()
1572 if (ast::Decl *lastDecl = curDeclScope->lookup(name.getName())) { in checkDefineNamedDecl()
1584 assert(curDeclScope && "defining variable outside of decl scope"); in defineVariableDecl()
1598 curDeclScope->add(varDecl); in defineVariableDecl()
1725 ast::Decl *cstDecl = curDeclScope->lookup<ast::Decl>(constraintName); in parseConstraint()
1871 ast::Decl *decl = curDeclScope->lookup(name); in parseDeclRefExpr()
3070 curDeclScope); in codeCompleteConstraintName()