clang 20.0.0git
Classes | Public Member Functions | Public Attributes | List of all members
clang::Sema::PragmaStack< ValueType > Struct Template Reference

#include "clang/Sema/Sema.h"

Inheritance diagram for clang::Sema::PragmaStack< ValueType >:
Inheritance graph
[legend]

Classes

struct  Slot
 

Public Member Functions

void Act (SourceLocation PragmaLocation, PragmaMsStackAction Action, llvm::StringRef StackSlotLabel, ValueType Value)
 
void SentinelAction (PragmaMsStackAction Action, StringRef Label)
 
 PragmaStack (const ValueType &Default)
 
bool hasValue () const
 
void Act (SourceLocation PragmaLocation, PragmaMsStackAction Action, llvm::StringRef StackSlotLabel, AlignPackInfo Value)
 

Public Attributes

SmallVector< Slot, 2 > Stack
 
ValueType DefaultValue
 
ValueType CurrentValue
 
SourceLocation CurrentPragmaLocation
 

Detailed Description

template<typename ValueType>
struct clang::Sema::PragmaStack< ValueType >

Definition at line 1600 of file Sema.h.

Constructor & Destructor Documentation

◆ PragmaStack()

template<typename ValueType >
clang::Sema::PragmaStack< ValueType >::PragmaStack ( const ValueType &  Default)
inlineexplicit

Definition at line 1669 of file Sema.h.

Member Function Documentation

◆ Act() [1/2]

void clang::Sema::PragmaStack< Sema::AlignPackInfo >::Act ( SourceLocation  PragmaLocation,
PragmaMsStackAction  Action,
llvm::StringRef  StackSlotLabel,
AlignPackInfo  Value 
)

◆ Act() [2/2]

template<typename ValueType >
void clang::Sema::PragmaStack< ValueType >::Act ( SourceLocation  PragmaLocation,
PragmaMsStackAction  Action,
llvm::StringRef  StackSlotLabel,
ValueType  Value 
)
inline

◆ hasValue()

template<typename ValueType >
bool clang::Sema::PragmaStack< ValueType >::hasValue ( ) const
inline

◆ SentinelAction()

template<typename ValueType >
void clang::Sema::PragmaStack< ValueType >::SentinelAction ( PragmaMsStackAction  Action,
StringRef  Label 
)
inline

Member Data Documentation

◆ CurrentPragmaLocation

template<typename ValueType >
SourceLocation clang::Sema::PragmaStack< ValueType >::CurrentPragmaLocation

◆ CurrentValue

template<typename ValueType >
ValueType clang::Sema::PragmaStack< ValueType >::CurrentValue

◆ DefaultValue

template<typename ValueType >
ValueType clang::Sema::PragmaStack< ValueType >::DefaultValue

◆ Stack

template<typename ValueType >
SmallVector<Slot, 2> clang::Sema::PragmaStack< ValueType >::Stack

The documentation for this struct was generated from the following file: