Searched refs:CurLocalScope (Results 1 – 2 of 2) sorted by relevance
147 std::unique_ptr<TGLocalVarScope> CurLocalScope; variable184 CurLocalScope = std::make_unique<TGLocalVarScope>(std::move(CurLocalScope)); in PushLocalScope()188 return CurLocalScope.get(); in PushLocalScope()191 assert(ExpectedStackTop == CurLocalScope.get() && in PopLocalScope()193 CurLocalScope = CurLocalScope->extractParent(); in PopLocalScope()
885 if (CurLocalScope) in ParseIDValue()886 if (Init *I = CurLocalScope->getVar(Name->getValue())) in ParseIDValue()3097 if (CurLocalScope) { in ParseDefvar()3098 if (CurLocalScope->varAlreadyDefined(DeclName->getValue())) in ParseDefvar()3116 if (CurLocalScope) in ParseDefvar()3117 CurLocalScope->addVar(DeclName->getValue(), Value); in ParseDefvar()