Skip to content

Commit b21665d

Browse files
author
thk123
committed
Added function header comment to expr2cleanct::convert_array_type
1 parent bb98530 commit b21665d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test-c-gen/expr2cleanc.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ std::string expr2cleanct::convert_struct_type(const typet &src,
5151
false, false);
5252
}
5353

54+
/*******************************************************************\
55+
Function: expr2cleanct::convert_array_type
56+
Inputs:
57+
src - The array type being converted
58+
qualifiers - Type qualifiers
59+
declarator_str - Type declarators
60+
Outputs: C type decleration for an array
61+
Purpose: To produce a C type decleration for a given array
62+
The clean version removes specifying the size of the array
63+
\*******************************************************************/
5464
std::string expr2cleanct::convert_array_type(const typet &src,
5565
const c_qualifierst &qualifiers,
5666
const std::string &declarator_str)

0 commit comments

Comments
 (0)