Searched refs:CurLocalScope (Results 1 – 2 of 2) sorted by relevance
147 std::unique_ptr<TGLocalVarScope> CurLocalScope; variable187 CurLocalScope = std::make_unique<TGLocalVarScope>(std::move(CurLocalScope)); in PushLocalScope()191 return CurLocalScope.get(); in PushLocalScope()194 assert(ExpectedStackTop == CurLocalScope.get() && in PopLocalScope()196 CurLocalScope = CurLocalScope->extractParent(); in PopLocalScope()
896 if (CurLocalScope) in ParseIDValue()897 if (Init *I = CurLocalScope->getVar(Name->getValue())) in ParseIDValue()3156 if (CurLocalScope) { in ParseDefvar()3157 if (CurLocalScope->varAlreadyDefined(DeclName->getValue())) in ParseDefvar()3175 if (CurLocalScope) in ParseDefvar()3176 CurLocalScope->addVar(DeclName->getValue(), Value); in ParseDefvar()