clang API Documentation
A stack-allocated class that identifies which local variable declaration instantiations are present in this scope. More...
#include <Sema.h>

Public Member Functions | |
| LocalInstantiationScope (Sema &SemaRef, bool CombineWithOuterScope=false) | |
| ~LocalInstantiationScope () | |
| void | Exit () |
| Exit this local instantiation scope early. | |
| Decl * | getInstantiationOf (const Decl *D) |
| VarDecl * | getInstantiationOf (const VarDecl *Var) |
| ParmVarDecl * | getInstantiationOf (const ParmVarDecl *Var) |
| NonTypeTemplateParmDecl * | getInstantiationOf (const NonTypeTemplateParmDecl *Var) |
| void | InstantiatedLocal (const Decl *D, Decl *Inst) |
A stack-allocated class that identifies which local variable declaration instantiations are present in this scope.
A new instance of this class type will be created whenever we instantiate a new function declaration, which will have its own set of parameter declarations.
Definition at line 3824 of file Sema.h.
| clang::Sema::LocalInstantiationScope::LocalInstantiationScope | ( | Sema & | SemaRef, | |
| bool | CombineWithOuterScope = false | |||
| ) | [inline] |
Definition at line 3862 of file Sema.h.
References clang::Sema::CurrentInstantiationScope.
| clang::Sema::LocalInstantiationScope::~LocalInstantiationScope | ( | ) | [inline] |
| void clang::Sema::LocalInstantiationScope::Exit | ( | ) | [inline] |
Exit this local instantiation scope early.
Definition at line 3874 of file Sema.h.
References clang::Sema::CurrentInstantiationScope.
Referenced by clang::Sema::InstantiateFunctionDefinition(), and ~LocalInstantiationScope().
| NonTypeTemplateParmDecl* clang::Sema::LocalInstantiationScope::getInstantiationOf | ( | const NonTypeTemplateParmDecl * | Var | ) | [inline] |
Definition at line 3892 of file Sema.h.
References getInstantiationOf().
| ParmVarDecl* clang::Sema::LocalInstantiationScope::getInstantiationOf | ( | const ParmVarDecl * | Var | ) | [inline] |
Definition at line 3888 of file Sema.h.
References getInstantiationOf().
Definition at line 3884 of file Sema.h.
References getInstantiationOf().
Definition at line 1640 of file SemaTemplateInstantiate.cpp.
References clang::Decl::isInvalidDecl().
Referenced by clang::Sema::FindInstantiatedDecl(), and getInstantiationOf().
Definition at line 1659 of file SemaTemplateInstantiate.cpp.
Referenced by clang::Sema::InstantiateFunctionDefinition(), and clang::Sema::SubstParmVarDecl().