Skip to content

Commit 07ff02d

Browse files
Removing string literal function from string preprocess cpp
1 parent 9419454 commit 07ff02d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/java_bytecode/java_string_library_preprocess.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -868,18 +868,6 @@ codet java_string_library_preprocesst::make_equals_function_code(
868868
return code;
869869
}
870870

871-
/// construct a string_exprt from a constant string value
872-
/// \param s: a string
873-
/// \param symbol_table: a symbol table
874-
/// \return an expression representing a string expr with the given content
875-
exprt java_string_library_preprocesst::string_literal(
876-
const std::string &s, symbol_tablet &symbol_table)
877-
{
878-
constant_exprt expr(s, string_typet());
879-
return make_function_application(
880-
ID_cprover_string_literal_func, {expr}, refined_string_type, symbol_table);
881-
}
882-
883871
/// Provide code for the String.valueOf(F) function.
884872
/// \param type: type of the function call
885873
/// \param loc: location in the program_invocation_name

0 commit comments

Comments
 (0)