[libclc] r211210 - Add missing undefs
Jeroen Ketema
j.ketema at imperial.ac.uk
Wed Jun 18 12:37:34 PDT 2014
Author: jketema
Date: Wed Jun 18 14:37:34 2014
New Revision: 211210
URL: http://llvm.org/viewvc/llvm-project?rev=211210&view=rev
Log:
Add missing undefs
Reviewed-by: Tom Stellard <tom at stellard.net>
Modified:
libclc/trunk/generic/include/clc/relational/all.h
libclc/trunk/generic/include/clc/relational/isequal.h
Modified: libclc/trunk/generic/include/clc/relational/all.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/relational/all.h?rev=211210&r1=211209&r2=211210&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/relational/all.h (original)
+++ libclc/trunk/generic/include/clc/relational/all.h Wed Jun 18 14:37:34 2014
@@ -1,4 +1,3 @@
-
#define _CLC_ALL_DECL(TYPE) \
_CLC_OVERLOAD _CLC_DECL int all(TYPE v);
@@ -14,3 +13,6 @@ _CLC_VECTOR_ALL_DECL(char)
_CLC_VECTOR_ALL_DECL(short)
_CLC_VECTOR_ALL_DECL(int)
_CLC_VECTOR_ALL_DECL(long)
+
+#undef _CLC_ALL_DECL
+#undef _CLC_VECTOR_ALL_DECL
Modified: libclc/trunk/generic/include/clc/relational/isequal.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/relational/isequal.h?rev=211210&r1=211209&r2=211210&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/relational/isequal.h (original)
+++ libclc/trunk/generic/include/clc/relational/isequal.h Wed Jun 18 14:37:34 2014
@@ -1,4 +1,3 @@
-
#define _CLC_ISEQUAL_DECL(TYPE, RETTYPE) \
_CLC_OVERLOAD _CLC_DECL RETTYPE isequal(TYPE x, TYPE y);
@@ -15,4 +14,7 @@ _CLC_VECTOR_ISEQUAL_DECL(float, int)
#ifdef cl_khr_fp64
_CLC_ISEQUAL_DECL(double, int)
_CLC_VECTOR_ISEQUAL_DECL(double, long)
-#endif
\ No newline at end of file
+#endif
+
+#undef _CLC_ISEQUAL_DECL
+#undef _CLC_VECTOR_ISEQUAL_DEC
More information about the cfe-commits
mailing list