diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-05-13 17:16:26 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-05-13 17:16:26 +0000 |
commit | 824cf0727f90aeb48653df4a98015bc4d65b7283 (patch) | |
tree | eaed7b099ce476401982c7dc7924e85839b09611 /test/Lexer | |
parent | 1ae52775b1ad7cad31ddfbd2cd2a60a61afb888c (diff) |
Revert "[OpenCL] Add supported OpenCL extensions to target info."
Revert r269431 due to build failure caused by warning msg:
llvm/tools/clang/lib/Basic/Targets.cpp:2090:9: error: 'setSupportedOpenCLOpts' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
void setSupportedOpenCLOpts() {
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r-- | test/Lexer/opencl-half-literal.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/opencl-half-literal.cl b/test/Lexer/opencl-half-literal.cl index 42ca5146b1..2415ee4fd8 100644 --- a/test/Lexer/opencl-half-literal.cl +++ b/test/Lexer/opencl-half-literal.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -fsyntax-only -verify -triple spir-unknown-unknown +// RUN: %clang_cc1 %s -fsyntax-only -verify #pragma OPENCL EXTENSION cl_khr_fp16 : enable |