|
13 | 13 | #include <util/expr_iterator.h> |
14 | 14 |
|
15 | 15 | /// Expand value of a function to include all child codets |
16 | | -/// \param instructions: The value of the function (e.g. got by looking up |
| 16 | +/// \param function_value: The value of the function (e.g. got by looking up |
17 | 17 | /// the function in the symbol table and getting the value) |
18 | 18 | /// \return: All ID_code statements in the tree rooted at \p function_value |
19 | 19 | std::vector<codet> |
@@ -69,7 +69,8 @@ require_goto_statements::find_struct_component_assignments( |
69 | 69 | return component_assignments; |
70 | 70 | } |
71 | 71 |
|
72 | | -/// For a given variable name, gets the assignments to it in the functions |
| 72 | +/// For a given variable name, gets the assignments to it in the provided |
| 73 | +/// instructions. |
73 | 74 | /// \param pointer_name: The name of the variable |
74 | 75 | /// \param instructions: The instructions to look through |
75 | 76 | /// \return: A structure that contains the null assignment if found, and a |
@@ -110,6 +111,8 @@ require_goto_statements::find_pointer_assignments( |
110 | 111 | /// \param variable_name: The name of the variable. |
111 | 112 | /// \param entry_point_instructions: The statements to look through |
112 | 113 | /// \return The declaration statement corresponding to that variable |
| 114 | +/// \throws no_decl_found_exceptiont if no declaration of the specific |
| 115 | +/// variable is found |
113 | 116 | const code_declt &require_goto_statements::require_declaration_of_name( |
114 | 117 | const irep_idt &variable_name, |
115 | 118 | const std::vector<codet> &entry_point_instructions) |
|
0 commit comments