clang API Documentation
00001 //===--- OpenCL.h - OpenCL enums --------------------------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file defines some OpenCL-specific enums. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_CLANG_BASIC_OPENCL_H 00015 #define LLVM_CLANG_BASIC_OPENCL_H 00016 00017 namespace clang { 00018 00019 /// Names for the OpenCL image access qualifiers (OpenCL 1.1 6.6). 00020 enum OpenCLImageAccess { 00021 CLIA_read_only = 1, 00022 CLIA_write_only = 2, 00023 CLIA_read_write = 3 00024 }; 00025 00026 } 00027 00028 #endif