From db69d14995fef917871f606692f172588571940a Mon Sep 17 00:00:00 2001
From: Dale Weiler <killfieldengine@gmail.com>
Date: Thu, 1 Aug 2013 07:12:21 +0000
Subject: [PATCH] Disable the macros to keep clang happy (just uncomment them
 for when more constant folding optimizations need them)

---
 fold.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/fold.c b/fold.c
index d0802f4..52bedae 100644
--- a/fold.c
+++ b/fold.c
@@ -603,13 +603,13 @@ ast_expression *fold_op(fold_t *fold, const oper_info *info, ast_expression **op
 #undef fold_can_2
 
 #define isfloat(X)              ((X)->vtype == TYPE_FLOAT)
-#define isstring(X)             ((X)->vtype == TYPE_STRING)
-#define isvector(X)             ((X)->vtype == TYPE_VECTOR)
+/*#define isstring(X)             ((X)->vtype == TYPE_STRING)*/
+/*#define isvector(X)             ((X)->vtype == TYPE_VECTOR)*/
 #define fold_immvalue_float(X)  ((X)->constval.vfloat)
-#define fold_immvalue_vector(X) ((X)->constval.vvec)
-#define fold_immvalue_string(X) ((X)->constval.vstring)
+/*#define fold_immvalue_vector(X) ((X)->constval.vvec)*/
+/*#define fold_immvalue_string(X) ((X)->constval.vstring)*/
 #define fold_can_1(X)           ((X)->hasvalue && (X)->cvq == CV_CONST)
-#define fold_can_2(X,Y)         (fold_can_1(X) && fold_can_1(Y))
+/*#define fold_can_2(X,Y)         (fold_can_1(X) && fold_can_1(Y))*/
 
 
 int fold_cond(ir_value *condval, ast_function *func, ast_ifthen *branch) {
-- 
2.39.5