Skip to content

Commit c1b6654

Browse files
author
svorenova
committed
Doc typet cont.
1 parent 5fbb205 commit c1b6654

File tree

2 files changed

+3
-28
lines changed

2 files changed

+3
-28
lines changed

src/util/type.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ bool is_number(const typet &type)
4747
id==ID_fixedbv;
4848
}
4949

50-
/// Identify if a given type is constant itself or contains constant components.
50+
/// Identify whether a given type is constant itself or contains constant
51+
/// components.
5152
/// Examples include:
5253
/// - const int a;
5354
/// - struct contains_constant_pointer { int x; int * const p; };

src/util/type.h

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,7 @@ class namespacet;
2424
/// modeled with two subs named “subtype” (a single type) and “subtypes”
2525
/// (a vector of types). The class typet only adds specialized methods
2626
/// for accessing the subtype information to the interface of irept.
27-
/// Pre-defined types:
28-
/// universe - super type
29-
/// type - another type
30-
/// predicate - predicate expression (subtype and predicate)
31-
/// uninterpreted - uninterpreted type with identifier
32-
/// empty - void
33-
/// bool - true or false
34-
/// abstract - abstract super type
35-
/// struct - with components: each component has name and type,
36-
/// the ordering matters
37-
/// rational
38-
/// real
39-
/// integer
40-
/// complex
41-
/// string
42-
/// enum - with elements, the ordering does not matter
43-
/// tuple - with components: each component has type,
44-
/// the ordering matters
45-
/// mapping - domain -> range
46-
/// bv - no interpretation
47-
/// unsignedbv
48-
/// signedbv - two's complement
49-
/// floatbv - IEEE floating point format
50-
/// code
51-
/// pointer - for ANSI-C (subtype)
52-
/// symbol - look in symbol table (identifier)
53-
/// number - generic number super type
27+
/// For pre-defined types see `std_types.h`.
5428
class typet:public irept
5529
{
5630
public:

0 commit comments

Comments
 (0)