Author: tstellar
Date: Wed Jun 26 13:20:18 2013
New Revision: 184986

URL: http://llvm.org/viewvc/llvm-project?rev=184986&view=rev
Log:
Remove the static keyword from the _CLC_INLINE macro

static functions are not allowed in OpenCL C

Modified:
    libclc/trunk/generic/include/clc/clcfunc.h

Modified: libclc/trunk/generic/include/clc/clcfunc.h
URL: 
http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/clcfunc.h?rev=184986&r1=184985&r2=184986&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/clcfunc.h (original)
+++ libclc/trunk/generic/include/clc/clcfunc.h Wed Jun 26 13:20:18 2013
@@ -1,4 +1,4 @@
 #define _CLC_OVERLOAD __attribute__((overloadable))
 #define _CLC_DECL
 #define _CLC_DEF __attribute__((always_inline))
-#define _CLC_INLINE __attribute__((always_inline)) static inline
+#define _CLC_INLINE __attribute__((always_inline)) inline


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to