We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc363b3 commit 5a0343fCopy full SHA for 5a0343f
src/goto-programs/interpreter_evaluate.cpp
@@ -102,6 +102,9 @@ void interpretert::clear_input_flags()
102
}
103
104
105
+/// Count the number of leaf subtypes of `ty`, a leaf type is a type that is
106
+/// not an array or a struct. For instance the count for a type such as
107
+/// `struct { (int[3])[5]; int }` would be 16 = (3 * 5 + 1).
108
/// \param ty: a type
109
/// \param [out] result: Number of leaf primitive types in `ty`
110
/// \return returns true on error
0 commit comments