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

Methods

OpenCLOptionInfo()

Declared at: clang/include/clang/Basic/OpenCLOptions.h:106

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

Declared at: clang/include/clang/Basic/OpenCLOptions.h:116

Parameters

const clang::LangOptions& LO

bool isCore() const

Declared at: clang/include/clang/Basic/OpenCLOptions.h:111

bool isCoreIn(const clang::LangOptions& LO) const

Declared at: clang/include/clang/Basic/OpenCLOptions.h:122

Parameters

const clang::LangOptions& LO

bool isOptionalCore() const

Declared at: clang/include/clang/Basic/OpenCLOptions.h:113

bool isOptionalCoreIn(
    const clang::LangOptions& LO) const

Declared at: clang/include/clang/Basic/OpenCLOptions.h:127

Parameters

const clang::LangOptions& LO