clang 22.0.0git
clang::Sema::PragmaStack< ValueType > Struct Template Reference

#include "clang/Sema/Sema.h"

Inheritance diagram for clang::Sema::PragmaStack< ValueType >:
[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 1939 of file Sema.h.

Constructor & Destructor Documentation

◆ PragmaStack()

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

Definition at line 2008 of file Sema.h.

References CurrentValue, clang::Sema::Default, and DefaultValue.

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

Definition at line 2011 of file Sema.h.

References CurrentValue, and DefaultValue.

◆ 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

Definition at line 2016 of file Sema.h.

Referenced by Act(), clang::Sema::CheckCompleteVariableDeclaration(), and SentinelAction().

◆ CurrentValue

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

◆ DefaultValue

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

Definition at line 2014 of file Sema.h.

Referenced by Act(), hasValue(), and PragmaStack().

◆ Stack

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

Definition at line 2013 of file Sema.h.

Referenced by Act(), and clang::Sema::ActOnPragmaMSSeg().


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