clang 20.0.0git
|
#include "clang/Basic/OpenCLOptions.h"
Public Member Functions | |
OpenCLOptionInfo ()=default | |
OpenCLOptionInfo (bool Pragma, unsigned AvailV, unsigned CoreV, unsigned OptV) | |
bool | isCore () const |
bool | isOptionalCore () const |
bool | isAvailableIn (const LangOptions &LO) const |
bool | isCoreIn (const LangOptions &LO) const |
bool | isOptionalCoreIn (const LangOptions &LO) const |
Public Attributes | |
bool | WithPragma = false |
unsigned | Avail = 100U |
unsigned | Core = 0U |
unsigned | Opt = 0U |
bool | Supported = false |
bool | Enabled = false |
Definition at line 87 of file OpenCLOptions.h.
|
default |
|
inline |
Definition at line 107 of file OpenCLOptions.h.
|
inline |
Definition at line 116 of file OpenCLOptions.h.
References Avail, and clang::LangOptions::getOpenCLCompatibleVersion().
Referenced by isCoreIn(), clang::OpenCLOptions::isOpenCLOptionAvailableIn(), and isOptionalCoreIn().
|
inline |
Definition at line 111 of file OpenCLOptions.h.
References Core.
|
inline |
Definition at line 122 of file OpenCLOptions.h.
References Core, and isAvailableIn().
Referenced by clang::OpenCLOptions::isOpenCLOptionCoreIn().
|
inline |
Definition at line 113 of file OpenCLOptions.h.
References Opt.
|
inline |
Definition at line 127 of file OpenCLOptions.h.
References isAvailableIn(), and Opt.
unsigned clang::OpenCLOptions::OpenCLOptionInfo::Avail = 100U |
Definition at line 92 of file OpenCLOptions.h.
Referenced by isAvailableIn().
unsigned clang::OpenCLOptions::OpenCLOptionInfo::Core = 0U |
Definition at line 95 of file OpenCLOptions.h.
Referenced by isCore(), and isCoreIn().
Definition at line 104 of file OpenCLOptions.h.
unsigned clang::OpenCLOptions::OpenCLOptionInfo::Opt = 0U |
Definition at line 98 of file OpenCLOptions.h.
Referenced by isOptionalCore(), and isOptionalCoreIn().
Definition at line 101 of file OpenCLOptions.h.
Definition at line 89 of file OpenCLOptions.h.