#include "clang/Basic/OpenCLOptions.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/TargetInfo.h"
namespace clang {
static const std::pair<StringRef, StringRef> DependentFeaturesList[] = …;
static const std::pair<StringRef, StringRef> FeatureExtensionMap[] = …;
bool OpenCLOptions::isKnown(llvm::StringRef Ext) const { … }
bool OpenCLOptions::isAvailableOption(llvm::StringRef Ext,
const LangOptions &LO) const { … }
bool OpenCLOptions::isEnabled(llvm::StringRef Ext) const { … }
bool OpenCLOptions::isWithPragma(llvm::StringRef Ext) const { … }
bool OpenCLOptions::isSupported(llvm::StringRef Ext,
const LangOptions &LO) const { … }
bool OpenCLOptions::isSupportedCore(llvm::StringRef Ext,
const LangOptions &LO) const { … }
bool OpenCLOptions::isSupportedOptionalCore(llvm::StringRef Ext,
const LangOptions &LO) const { … }
bool OpenCLOptions::isSupportedCoreOrOptionalCore(llvm::StringRef Ext,
const LangOptions &LO) const { … }
bool OpenCLOptions::isSupportedExtension(llvm::StringRef Ext,
const LangOptions &LO) const { … }
void OpenCLOptions::enable(llvm::StringRef Ext, bool V) { … }
void OpenCLOptions::acceptsPragma(llvm::StringRef Ext, bool V) { … }
void OpenCLOptions::support(llvm::StringRef Ext, bool V) { … }
OpenCLOptions::OpenCLOptions() { … }
void OpenCLOptions::addSupport(const llvm::StringMap<bool> &FeaturesMap,
const LangOptions &Opts) { … }
void OpenCLOptions::disableAll() { … }
bool OpenCLOptions::diagnoseUnsupportedFeatureDependencies(
const TargetInfo &TI, DiagnosticsEngine &Diags) { … }
bool OpenCLOptions::diagnoseFeatureExtensionDifferences(
const TargetInfo &TI, DiagnosticsEngine &Diags) { … }
}