#include <list>
#include <util/irep/irep.h>
#include <util/irep/location.h>
Go to the source code of this file.
◆ Forall_subtypes
| #define Forall_subtypes |
( |
| it, |
|
|
| type ) |
Value: if ((type).has_subtypes()) \
for (typet::subtypest::iterator it = (type).subtypes().begin(); \
it != (type).subtypes().end(); \
it++)
◆ forall_subtypes
| #define forall_subtypes |
( |
| it, |
|
|
| type ) |
Value: if ((type).has_subtypes()) \
for (typet::subtypest::const_iterator it = (type).subtypes().begin(); \
it != (type).subtypes().end(); \
it++)
◆ Forall_type_list
| #define Forall_type_list |
( |
| it, |
|
|
| type ) |
Value: for (type_listt::iterator it = (type).begin(); it != (type).end(); it++)
◆ forall_type_list
| #define forall_type_list |
( |
| it, |
|
|
| type ) |
Value: for (type_listt::const_iterator it = (type).begin(); it != (type).end(); it++)
◆ type_listt
◆ is_array_like()
Returns wether the type behaves similarly to an array.
This is mainly used for DRY, e.g. checking for vector and array types.
- Parameters
-
- Returns
- true
-
false
◆ is_decaying_array()
Types that decay to a pointer in C11 6.3.2.1p3 – an array, but not a vector, which is a value.
◆ is_number()