A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1LocalInstantiationScope.html below:

clang: clang::LocalInstantiationScope Class Reference

A stack-allocated class that identifies which local variable declaration instantiations are present in this scope. More...

#include "clang/Sema/Template.h"

  LocalInstantiationScope (Sema &SemaRef, bool CombineWithOuterScope=false, bool InstantiatingLambdaOrBlock=false)     LocalInstantiationScope (const LocalInstantiationScope &)=delete   LocalInstantiationScopeoperator= (const LocalInstantiationScope &)=delete     ~LocalInstantiationScope ()   const SemagetSema () const   void  Exit ()   Exit this local instantiation scope early.
  LocalInstantiationScopecloneScopes (LocalInstantiationScope *Outermost)   Clone this scope, and all outer scopes, down to the given outermost scope.
  llvm::PointerUnion< Decl *, DeclArgumentPack * > *  findInstantiationOf (const Decl *D)   Find the instantiation of the declaration D within the current instantiation scope.
  void  InstantiatedLocal (const Decl *D, Decl *Inst)   void  InstantiatedLocalPackArg (const Decl *D, VarDecl *Inst)   void  MakeInstantiatedLocalArgPack (const Decl *D)   void  SetPartiallySubstitutedPack (NamedDecl *Pack, const TemplateArgument *ExplicitArgs, unsigned NumExplicitArgs)   Note that the given parameter pack has been partially substituted via explicit specification of template arguments (C++0x [temp.arg.explicit]p9).
  void  ResetPartiallySubstitutedPack ()   Reset the partially-substituted pack when it is no longer of interest.
  NamedDeclgetPartiallySubstitutedPack (const TemplateArgument **ExplicitArgs=nullptr, unsigned *NumExplicitArgs=nullptr) const   Retrieve the partially-substitued template parameter pack.
  bool  isLocalPackExpansion (const Decl *D)   Determine whether D is a pack expansion created in this scope.
  bool  isLambdaOrBlock () const   Determine whether this scope is for instantiating a lambda or block.
 

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 365 of file Template.h.

◆ DeclArgumentPack

A set of declarations.

Definition at line 368 of file Template.h.

◆ LocalInstantiationScope() [1/2] clang::LocalInstantiationScope::LocalInstantiationScope ( SemaSemaRef, bool  CombineWithOuterScope = false, bool  InstantiatingLambdaOrBlock = false  ) inline ◆ LocalInstantiationScope() [2/2] ◆ ~LocalInstantiationScope() clang::LocalInstantiationScope::~LocalInstantiationScope ( ) inline ◆ cloneScopes() ◆ deleteScopes() ◆ Exit() void clang::LocalInstantiationScope::Exit ( ) inline ◆ findInstantiationOf() ◆ getPartiallySubstitutedPack() ◆ getSema() const Sema & clang::LocalInstantiationScope::getSema ( ) const inline

Definition at line 449 of file Template.h.

◆ InstantiatedLocal() void LocalInstantiationScope::InstantiatedLocal ( const DeclD, DeclInst  ) ◆ InstantiatedLocalPackArg() void LocalInstantiationScope::InstantiatedLocalPackArg ( const DeclD, VarDeclInst  ) ◆ isLambdaOrBlock() bool clang::LocalInstantiationScope::isLambdaOrBlock ( ) const inline

Determine whether this scope is for instantiating a lambda or block.

Definition at line 565 of file Template.h.

◆ isLocalPackExpansion() bool LocalInstantiationScope::isLocalPackExpansion ( const DeclD ) ◆ MakeInstantiatedLocalArgPack() void LocalInstantiationScope::MakeInstantiatedLocalArgPack ( const DeclD ) ◆ operator=() ◆ ResetPartiallySubstitutedPack() void clang::LocalInstantiationScope::ResetPartiallySubstitutedPack ( ) inline ◆ SetPartiallySubstitutedPack()

Note that the given parameter pack has been partially substituted via explicit specification of template arguments (C++0x [temp.arg.explicit]p9).

Parameters
Pack The parameter pack, which will always be a template parameter pack. ExplicitArgs The explicitly-specified template arguments provided for this parameter pack. NumExplicitArgs The number of explicitly-specified template arguments provided for this parameter pack.

Definition at line 4722 of file SemaTemplateInstantiate.cpp.

Referenced by clang::Sema::SubstituteExplicitTemplateArguments().

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4