Skip to content

Commit 42a4d87

Browse files
committed
Move string symbol creation Doxygen to header
Following the new coding standard.
1 parent 607df45 commit 42a4d87

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

jbmc/src/java_bytecode/java_string_literals.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@ static array_exprt utf16_to_array(const std::wstring &in)
5555
return ret;
5656
}
5757

58-
/// Creates or gets an existing constant global symbol for a given string
59-
/// literal.
60-
/// \param string_expr: string literal expression to convert
61-
/// \param symbol_table: global symbol table. If not already present, constant
62-
/// global symbols will be added.
63-
/// \param string_refinement_enabled: if true, string refinement's string data
64-
/// structure will also be initialised and added to the symbol table.
65-
/// \return a symbol_expr corresponding to the new or existing literal symbol.
6658
symbol_exprt get_or_create_string_literal_symbol(
6759
const exprt &string_expr,
6860
symbol_table_baset &symbol_table,

jbmc/src/java_bytecode/java_string_literals.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ Author: Chris Smowton, [email protected]
1212
#include <util/symbol_table.h>
1313
#include <util/std_expr.h>
1414

15+
/// Creates or gets an existing constant global symbol for a given string
16+
/// literal.
17+
/// \param string_expr: string literal expression to convert
18+
/// \param symbol_table: global symbol table. If not already present, constant
19+
/// global symbols will be added.
20+
/// \param string_refinement_enabled: if true, string refinement's string data
21+
/// structure will also be initialised and added to the symbol table.
22+
/// \return a symbol_expr corresponding to the new or existing literal symbol.
1523
symbol_exprt get_or_create_string_literal_symbol(
1624
const exprt &string_expr,
1725
symbol_table_baset &symbol_table,

0 commit comments

Comments
 (0)