clang: clang::AtomicScopeModel Class Reference (original) (raw)

Defines the interface for synch scope model. More...

#include "[clang/Basic/SyncScope.h](SyncScope%5F8h%5Fsource.html)"

Public Member Functions
virtual ~AtomicScopeModel ()
virtual SyncScope map (unsigned S) const =0
Maps language specific synch scope values to internal SyncScope enum.
virtual bool isValid (unsigned S) const =0
Check if the compile-time constant synch scope value is valid.
virtual ArrayRef< unsigned > getRuntimeValues () const =0
Get all possible synch scope values that might be encountered at runtime for the current language.
virtual unsigned getFallBackValue () const =0
If atomic builtin function is called with invalid synch scope value at runtime, it will fall back to a valid synch scope value returned by this function.

Defines the interface for synch scope model.

Definition at line 98 of file SyncScope.h.

virtual clang::AtomicScopeModel::~AtomicScopeModel ( ) inlinevirtual

create()

getFallBackValue()

virtual unsigned clang::AtomicScopeModel::getFallBackValue ( ) const pure virtual

getRuntimeValues()

virtual ArrayRef< unsigned > clang::AtomicScopeModel::getRuntimeValues ( ) const pure virtual

isValid()

virtual bool clang::AtomicScopeModel::isValid ( unsigned S) const pure virtual

map()


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