[libclc] r217958 - atomic: undef macros that are included from atomic_decl.inc
Aaron Watry
awatry at gmail.com
Wed Sep 17 08:27:40 PDT 2014
Author: awatry
Date: Wed Sep 17 10:27:39 2014
New Revision: 217958
URL: http://llvm.org/viewvc/llvm-project?rev=217958&view=rev
Log:
atomic: undef macros that are included from atomic_decl.inc
Signed-off-by: Aaron Watry <awatry at gmail.com>
Reviewed-by: Jeroen Ketema <j.ketema at imperial.ac.uk>
Modified:
libclc/trunk/generic/include/clc/atomic/atomic_add.h
libclc/trunk/generic/include/clc/atomic/atomic_and.h
libclc/trunk/generic/include/clc/atomic/atomic_max.h
libclc/trunk/generic/include/clc/atomic/atomic_min.h
libclc/trunk/generic/include/clc/atomic/atomic_or.h
libclc/trunk/generic/include/clc/atomic/atomic_sub.h
libclc/trunk/generic/include/clc/atomic/atomic_xchg.h
libclc/trunk/generic/include/clc/atomic/atomic_xor.h
Modified: libclc/trunk/generic/include/clc/atomic/atomic_add.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_add.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_add.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_add.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_add
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_and.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_and.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_and.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_and.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_and
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_max.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_max.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_max.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_max.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_max
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_min.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_min.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_min.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_min.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_min
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_or.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_or.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_or.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_or.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_or
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_sub.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_sub.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_sub.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_sub.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_sub
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_xchg.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_xchg.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_xchg.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_xchg.h Wed Sep 17 10:27:39 2014
@@ -2,4 +2,5 @@
#include <clc/atomic/atomic_decl.inc>
__CLC_DECLARE_ATOMIC_ADDRSPACE(float);
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
Modified: libclc/trunk/generic/include/clc/atomic/atomic_xor.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/atomic/atomic_xor.h?rev=217958&r1=217957&r2=217958&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/atomic/atomic_xor.h (original)
+++ libclc/trunk/generic/include/clc/atomic/atomic_xor.h Wed Sep 17 10:27:39 2014
@@ -1,3 +1,5 @@
#define __CLC_FUNCTION atomic_xor
#include <clc/atomic/atomic_decl.inc>
#undef __CLC_FUNCTION
+#undef __CLC_DECLARE_ATOMIC
+#undef __CLC_DECLARE_ATOMIC_ADDRSPACE
More information about the cfe-commits
mailing list