put annotations after "struct"
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Jan 2012 15:49:19 +0000 (16:49 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Jan 2012 18:06:12 +0000 (19:06 +0100)
Recent versions of clang require the annotations to be placed after "struct".

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/isl/map_type.h
include/isl/polynomial_type.h
include/isl/union_map.h

index a600233..67057e7 100644 (file)
@@ -7,21 +7,17 @@
 extern "C" {
 #endif
 
-__isl_subclass(isl_map)
-struct isl_basic_map;
+struct __isl_subclass(isl_map) isl_basic_map;
 typedef struct isl_basic_map isl_basic_map;
-__isl_subclass(isl_union_map)
-struct isl_map;
+struct __isl_subclass(isl_union_map) isl_map;
 typedef struct isl_map isl_map;
 
 #ifndef isl_basic_set
-__isl_subclass(isl_set)
-struct isl_basic_set;
+struct __isl_subclass(isl_set) isl_basic_set;
 typedef struct isl_basic_set isl_basic_set;
 #endif
 #ifndef isl_set
-__isl_subclass(isl_union_set)
-struct isl_set;
+struct __isl_subclass(isl_union_set) isl_set;
 typedef struct isl_set isl_set;
 #endif
 
index bb022bf..df432bd 100644 (file)
@@ -7,8 +7,7 @@ typedef struct isl_qpolynomial isl_qpolynomial;
 struct isl_term;
 typedef struct isl_term isl_term;
 
-__isl_export
-struct isl_pw_qpolynomial;
+struct __isl_export isl_pw_qpolynomial;
 typedef struct isl_pw_qpolynomial isl_pw_qpolynomial;
 
 enum isl_fold {
@@ -23,8 +22,7 @@ typedef struct isl_qpolynomial_fold isl_qpolynomial_fold;
 struct isl_pw_qpolynomial_fold;
 typedef struct isl_pw_qpolynomial_fold isl_pw_qpolynomial_fold;
 
-__isl_export
-struct isl_union_pw_qpolynomial;
+struct __isl_export isl_union_pw_qpolynomial;
 typedef struct isl_union_pw_qpolynomial isl_union_pw_qpolynomial;
 
 struct isl_union_pw_qpolynomial_fold;
index f0ebeb2..21ffa78 100644 (file)
@@ -9,12 +9,10 @@
 extern "C" {
 #endif
 
-__isl_export
-struct isl_union_map;
+struct __isl_export isl_union_map;
 typedef struct isl_union_map isl_union_map;
 #ifndef isl_union_set
-__isl_export
-struct isl_union_set;
+struct __isl_export isl_union_set;
 typedef struct isl_union_set isl_union_set;
 #endif