[libclc] r184986 - Remove the static keyword from the _CLC_INLINE macro

Tom Stellard thomas.stellard at amd.com
Wed Jun 26 11:20:19 PDT 2013


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





More information about the cfe-commits mailing list