Skip to content

Commit 6a3392c

Browse files
committed
JBMC: removed camel-casing from function identifiers
1 parent 9059be7 commit 6a3392c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jbmc/src/java_bytecode/java_bytecode_concurrency_instrumentation.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ static void instrument_start_thread(
351351
/// \param f_code: function call to CProver.endThread:(I)V
352352
/// \param [out] code: resulting transformation
353353
/// \param symbol_table: a symbol table
354-
static void instrument_endThread(
354+
static void instrument_end_thread(
355355
const code_function_callt &f_code,
356356
codet &code,
357357
const symbol_tablet &symbol_table)
@@ -388,7 +388,7 @@ static void instrument_endThread(
388388
/// \param f_code: function call to CProver.getCurrentThreadID:()I
389389
/// \param [out] code: resulting transformation
390390
/// \param symbol_table: a symbol table
391-
static void instrument_getCurrentThreadID(
391+
static void instrument_get_current_thread_id(
392392
const code_function_callt &f_code,
393393
codet &code,
394394
symbol_tablet &symbol_table)
@@ -505,10 +505,10 @@ void convert_threadblock(symbol_tablet &symbol_table)
505505
cb = std::bind(instrument_start_thread, std::placeholders::_1,
506506
std::placeholders::_2, std::placeholders::_3);
507507
else if(f_name == "org.cprover.CProver.endThread:(I)V")
508-
cb = std::bind(&instrument_endThread, std::placeholders::_1,
508+
cb = std::bind(&instrument_end_thread, std::placeholders::_1,
509509
std::placeholders::_2, std::placeholders::_3);
510510
else if(f_name == "org.cprover.CProver.getCurrentThreadID:()I")
511-
cb = std::bind(&instrument_getCurrentThreadID, std::placeholders::_1,
511+
cb = std::bind(&instrument_get_current_thread_id, std::placeholders::_1,
512512
std::placeholders::_2, std::placeholders::_3);
513513

514514
if(cb)

0 commit comments

Comments
 (0)