OpenCL supported extensions and optional core features.
More...
#include "clang/Basic/OpenCLOptions.h"
OpenCL supported extensions and optional core features.
Definition at line 23 of file OpenCLOptions.h.
◆ OpenCLOptions()
clang::OpenCLOptions::OpenCLOptions |
( |
| ) |
|
|
inline |
◆ addSupport()
void clang::OpenCLOptions::addSupport |
( |
const OpenCLOptions & |
Opts | ) |
|
|
inline |
◆ copy()
◆ disableAll()
void clang::OpenCLOptions::disableAll |
( |
| ) |
|
|
inline |
◆ enable()
void clang::OpenCLOptions::enable |
( |
llvm::StringRef |
Ext, |
|
|
bool |
V = true |
|
) |
| |
|
inline |
◆ enableSupportedCore()
void clang::OpenCLOptions::enableSupportedCore |
( |
unsigned |
CLVer | ) |
|
|
inline |
◆ isEnabled()
bool clang::OpenCLOptions::isEnabled |
( |
llvm::StringRef |
Ext | ) |
const |
|
inline |
◆ isKnown()
bool clang::OpenCLOptions::isKnown |
( |
llvm::StringRef |
Ext | ) |
const |
|
inline |
◆ isSupported()
bool clang::OpenCLOptions::isSupported |
( |
llvm::StringRef |
Ext, |
|
|
unsigned |
CLVer |
|
) |
| const |
|
inline |
◆ isSupportedCore()
bool clang::OpenCLOptions::isSupportedCore |
( |
llvm::StringRef |
Ext, |
|
|
unsigned |
CLVer |
|
) |
| const |
|
inline |
◆ isSupportedExtension()
bool clang::OpenCLOptions::isSupportedExtension |
( |
llvm::StringRef |
Ext, |
|
|
unsigned |
CLVer |
|
) |
| const |
|
inline |
◆ support()
void clang::OpenCLOptions::support |
( |
llvm::StringRef |
Ext, |
|
|
bool |
V = true |
|
) |
| |
|
inline |
Enable or disable support for OpenCL extensions.
- Parameters
-
Ext | name of the extension optionally prefixed with '+' or '-' |
V | used when Ext is not prefixed by '+' or '-' |
Definition at line 74 of file OpenCLOptions.h.
References supportAll().
◆ supportAll()
void clang::OpenCLOptions::supportAll |
( |
bool |
On = true | ) |
|
|
inline |
◆ ASTReader
◆ ASTWriter
The documentation for this class was generated from the following file: