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_1interp_1_1InterpStack.html below:

clang: clang::interp::InterpStack Class Reference

Stack frame storing temporaries and parameters. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/InterpStack.h"

  InterpStack ()     ~InterpStack ()   Destroys the stack, freeing up storage.
  template<typename T , typename... Tys> void  push (Tys &&...Args)   Constructs a value in place on the top of the stack.
  template<typename T > T  pop ()   Returns the value from the top of the stack and removes it.
  template<typename T > void  discard ()   Discards the top value from the stack.
  template<typename T > Tpeek () const   Returns a reference to the value on the top of the stack.
  template<typename T > Tpeek (size_t Offset) const   void *  top () const   Returns a pointer to the top object.
  size_t  size () const   Returns the size of the stack in bytes.
  void  clear ()   Clears the stack without calling any destructors.
  void  clearTo (size_t NewSize)   bool  empty () const   Returns whether the stack is empty.
  void  dump () const   dump the stack contents to stderr.
 

Stack frame storing temporaries and parameters.

Definition at line 28 of file InterpStack.h.

◆ InterpStack() clang::interp::InterpStack::InterpStack ( ) inline

Definition at line 30 of file InterpStack.h.

◆ ~InterpStack() InterpStack::~InterpStack ( ) ◆ clear() void InterpStack::clear ( ) ◆ clearTo() void InterpStack::clearTo ( size_t  NewSize ) ◆ discard() void clang::interp::InterpStack::discard ( ) inline ◆ dump() void InterpStack::dump ( ) const ◆ empty() bool clang::interp::InterpStack::empty ( ) const inline ◆ peek() [1/2] T & clang::interp::InterpStack::peek ( ) const inline ◆ peek() [2/2] T & clang::interp::InterpStack::peek ( size_t  Offset ) const inline ◆ pop() T clang::interp::InterpStack::pop ( ) inline ◆ push()

template<typename

T

, typename... Tys>

void clang::interp::InterpStack::push ( Tys &&...  Args ) inline

Constructs a value in place on the top of the stack.

Definition at line 36 of file InterpStack.h.

References clang::T.

◆ size() size_t clang::interp::InterpStack::size ( ) const inline ◆ top() void * clang::interp::InterpStack::top ( ) const inline

Returns a pointer to the top object.

Definition at line 83 of file InterpStack.h.

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