Home
last modified time | relevance | path

Searched refs:newScope (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DTemplate.h404 LocalInstantiationScope *newScope = in cloneScopes() local
407 newScope->Outer = nullptr; in cloneScopes()
409 newScope->Outer = Outer->cloneScopes(Outermost); in cloneScopes()
411 newScope->PartiallySubstitutedPack = PartiallySubstitutedPack; in cloneScopes()
412 newScope->ArgsInPartiallySubstitutedPack = ArgsInPartiallySubstitutedPack; in cloneScopes()
413 newScope->NumArgsInPartiallySubstitutedPack = in cloneScopes()
420 newScope->LocalDecls[D]; in cloneScopes()
427 newScope->ArgumentPacks.push_back(NewPack); in cloneScopes()
432 return newScope; in cloneScopes()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtype.cpp318 Scope &newScope{containingScope.MakeScope(Scope::Kind::DerivedType)}; in Instantiate() local
319 newScope.set_derivedTypeSpec(*this); in Instantiate()
320 ReplaceScope(newScope); in Instantiate()
335 SomeExpr{std::move(*expr)}, foldingContext, &newScope)}) { in Instantiate()
347 newScope.try_emplace(name, std::move(instanceDetails)); in Instantiate()
361 newScope.set_instantiationContext(contextMessage); in Instantiate()
365 newScope.AddSourceRange(typeScope.sourceRange()); in Instantiate()
371 InstantiateHelper{newScope}.InstantiateComponents(typeScope); in Instantiate()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp100 ast::DeclScope *newScope = in pushDeclScope() local
102 return (curDeclScope = newScope); in pushDeclScope()