Skip to content

Commit 372aecf

Browse files
committed
Updates requested in the PR: indentation.
1 parent 17903ee commit 372aecf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/taint-slicer/instrumentation_props.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ std::string unwrap_type_name(const typet &type, const namespacet &ns)
5252
const std::string result=type2java(type, ns);
5353
if(!is_primitive_type(type))
5454
throw std::logic_error(
55-
msgstream() << "ERROR: expecting a primitive data type, "
56-
"but received '" << result << "'.");
55+
"ERROR: expecting a primitive data type, but received '" + result + "'.");
5756
return result;
5857
}
5958

@@ -224,7 +223,7 @@ void taint_instrumentation_propst::build_map_from_typenames_to_tokennames(
224223
{
225224
assert(
226225
does_instrumentation_of_type_require_subclass(datatype, type)==
227-
it->second.subclass_required() &&
226+
it->second.subclass_required() &&
228227
is_primitive_type(type)==it->second.is_primitive());
229228
it->second.add_token(arg_token.get_token_name());
230229
}
@@ -324,8 +323,8 @@ void taint_build_instrumentation_props(
324323
std::unordered_set<irep_idt, dstring_hash> ignored_functions(
325324
suppressed.cbegin(), suppressed.cend());
326325
if(!exists_direct_or_indirect_call(
327-
program.get_call_graph(), root, *suppressions.cbegin(),
328-
ignored_functions))
326+
program.get_call_graph(), root, *suppressions.cbegin(),
327+
ignored_functions))
329328
{
330329
suppressed.insert(as_string(*suppressions.cbegin()));
331330
callees.erase(*suppressions.cbegin());

0 commit comments

Comments
 (0)