Skip to content

Commit 27d27da

Browse files
Tidying of changes introduced during merge
Added an abbreviation for repeated use of elem.second.name Formatting around new java_new include
1 parent cbd6688 commit 27d27da

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/driver/sec_driver_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
#include <goto-programs/class_hierarchy.h>
3333
#include <goto-programs/remove_exceptions.h>
3434
#include <goto-programs/remove_java_new.h>
35+
3536
#include <analyses/call_graph.h>
3637
#include <analyses/call_graph_helpers.h>
37-
3838
#include <analyses/goto_check.h>
3939
#include <analyses/local_may_alias.h>
4040

src/taint-slicer/slicing_tasks_builder.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,11 @@ std::pair<taint_slicing_taskt,std::string> build_slicing_task(
255255
symbol_table, logger->get_message_handler());
256256
for(const auto &elem : symbol_table.symbols)
257257
{
258-
if(elem.second.value.id()==ID_code &&
259-
converted.count(elem.second.name)==0UL)
258+
irep_idt fn_name = elem.second.name;
259+
if(elem.second.value.id() == ID_code && converted.count(fn_name) == 0UL)
260260
{
261261
converter.convert_function(
262-
elem.second.name,
263-
goto_functions.function_map[elem.second.name]);
262+
fn_name, goto_functions.function_map[fn_name]);
264263
}
265264
}
266265
}

0 commit comments

Comments
 (0)