struct OpenCLOptions::OpenCLOptionInfo
Declaration
struct OpenCLOptions::OpenCLOptionInfo { /* full declaration omitted */ };
Declared at: clang/include/clang/Basic/OpenCLOptions.h:87
Member Variables
- public bool WithPragma = false
- public unsigned int Avail = 100U
- public unsigned int Core = 0U
- public unsigned int Opt = 0U
- public bool Supported = false
- public bool Enabled = false
Method Overview
- public OpenCLOptionInfo()
- public OpenCLOptionInfo(bool Pragma, unsigned int AvailV, unsigned int CoreV, unsigned int OptV)
- public bool isAvailableIn(const clang::LangOptions & LO) const
- public bool isCore() const
- public bool isCoreIn(const clang::LangOptions & LO) const
- public bool isOptionalCore() const
- public bool isOptionalCoreIn(const clang::LangOptions & LO) const
Methods
¶OpenCLOptionInfo()
OpenCLOptionInfo()
Declared at: clang/include/clang/Basic/OpenCLOptions.h:106
¶OpenCLOptionInfo(bool Pragma,
unsigned int AvailV,
unsigned int CoreV,
unsigned int OptV)
OpenCLOptionInfo(bool Pragma,
unsigned int AvailV,
unsigned int CoreV,
unsigned int OptV)
Declared at: clang/include/clang/Basic/OpenCLOptions.h:107
Parameters
- bool Pragma
- unsigned int AvailV
- unsigned int CoreV
- unsigned int OptV
¶bool isAvailableIn(
const clang::LangOptions& LO) const
bool isAvailableIn(
const clang::LangOptions& LO) const
Declared at: clang/include/clang/Basic/OpenCLOptions.h:116
Parameters
- const clang::LangOptions& LO
¶bool isCore() const
bool isCore() const
Declared at: clang/include/clang/Basic/OpenCLOptions.h:111
¶bool isCoreIn(const clang::LangOptions& LO) const
bool isCoreIn(const clang::LangOptions& LO) const
Declared at: clang/include/clang/Basic/OpenCLOptions.h:122
Parameters
- const clang::LangOptions& LO
¶bool isOptionalCore() const
bool isOptionalCore() const
Declared at: clang/include/clang/Basic/OpenCLOptions.h:113
¶bool isOptionalCoreIn(
const clang::LangOptions& LO) const
bool isOptionalCoreIn(
const clang::LangOptions& LO) const
Declared at: clang/include/clang/Basic/OpenCLOptions.h:127
Parameters
- const clang::LangOptions& LO