Skip to content

Commit 0c00835

Browse files
committed
Do not use parentheses around the declared symbol
GCC 8 doesn't like this.
1 parent 4f3c102 commit 0c00835

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pointer-analysis/value_set_fivrns.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ hash_numbering<irep_idt, irep_id_hash> value_set_fivrnst::function_numbering;
3333
static const char *alloc_adapter_prefix="alloc_adaptor::";
3434

3535
#define forall_objects(it, map) \
36-
for(object_map_dt::const_iterator (it) = (map).begin(); \
36+
for(object_map_dt::const_iterator it = (map).begin(); \
3737
(it)!=(map).end(); \
3838
(it)++)
3939

4040
#define forall_valid_objects(it, map) \
41-
for(object_map_dt::const_iterator (it) = (map).begin(); \
41+
for(object_map_dt::const_iterator it = (map).begin(); \
4242
(it)!=(map).end(); \
4343
(it)++) \
4444
if((map).is_valid_at((it)->first, from_function, from_target_index))
4545

4646
#define Forall_objects(it, map) \
47-
for(object_map_dt::iterator (it) = (map).begin(); \
47+
for(object_map_dt::iterator it = (map).begin(); \
4848
(it)!=(map).end(); \
4949
(it)++)
5050

5151
#define Forall_valid_objects(it, map) \
52-
for(object_map_dt::iterator (it) = (map).begin(); \
52+
for(object_map_dt::iterator it = (map).begin(); \
5353
(it)!=(map).end(); \
5454
(it)++) \
5555
if((map).is_valid_at((it)->first, from_function, from_target_index)) /* NOLINT(*) */

0 commit comments

Comments
 (0)