From 60f62ad3d3ffec573abaf49d04f95f7407c49ba9 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 9 Sep 2013 12:57:20 +0000 Subject: Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. llvm-svn: 190303 --- clang/test/SemaOpenCL/endian-attr.cl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'clang/test/SemaOpenCL') diff --git a/clang/test/SemaOpenCL/endian-attr.cl b/clang/test/SemaOpenCL/endian-attr.cl index ba2f0e5c73e..f7766431004 100644 --- a/clang/test/SemaOpenCL/endian-attr.cl +++ b/clang/test/SemaOpenCL/endian-attr.cl @@ -1,9 +1,3 @@ // RUN: %clang_cc1 -verify %s -constant long a __attribute__((endian(host))) = 100; - -constant long b __attribute__((endian(device))) = 100; - -constant long c __attribute__((endian(none))) = 100; // expected-warning {{unknown endian 'none'}} - -void func() __attribute__((endian(host))); // expected-warning {{'endian' attribute only applies to variables}} +constant long a __attribute__((endian(host))) = 100; // expected-warning {{unknown attribute 'endian' ignored}} -- cgit v1.2.3