Skip to content

Commit 06112eb

Browse files
committed
cpplint
1 parent d6b956b commit 06112eb

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

src/taint-slicer/irept_instrument.cpp

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ irept instrument(const irept irep, const instrumenter_fnt &instrumenter)
3838
for(const irept::named_subt::value_type name_sub : irep.get_named_sub())
3939
{
4040
const auto it_bool=
41-
new_named_sub.insert({
42-
name_sub.first,
43-
instrument(name_sub.second, instrumenter)});
41+
new_named_sub.insert(
42+
{
43+
name_sub.first,
44+
instrument(name_sub.second, instrumenter)
45+
});
4446
assert(it_bool.second);
4547
if(it_bool.first->second!=name_sub.second)
4648
modified=true;
@@ -50,9 +52,11 @@ irept instrument(const irept irep, const instrumenter_fnt &instrumenter)
5052
for(const irept::named_subt::value_type name_sub : irep.get_comments())
5153
{
5254
const auto it_bool=
53-
new_comments.insert({
54-
name_sub.first,
55-
instrument(name_sub.second, instrumenter)});
55+
new_comments.insert(
56+
{
57+
name_sub.first,
58+
instrument(name_sub.second, instrumenter)
59+
});
5660
assert(it_bool.second);
5761
if(it_bool.first->second!=name_sub.second)
5862
modified=true;
@@ -93,9 +97,11 @@ irept instrument_using_pivot(
9397
++pit, ++iit)
9498
{
9599
const auto it_bool=
96-
new_named_sub.insert({
97-
iit->first,
98-
instrument_using_pivot(pit->second, iit->second, instrumenter)});
100+
new_named_sub.insert(
101+
{
102+
iit->first,
103+
instrument_using_pivot(pit->second, iit->second, instrumenter)
104+
});
99105
assert(it_bool.second);
100106
if(it_bool.first->second!=iit->second)
101107
modified=true;
@@ -109,9 +115,11 @@ irept instrument_using_pivot(
109115
++pit, ++iit)
110116
{
111117
const auto it_bool=
112-
new_comments.insert({
113-
iit->first,
114-
instrument_using_pivot(pit->second, iit->second, instrumenter)});
118+
new_comments.insert(
119+
{
120+
iit->first,
121+
instrument_using_pivot(pit->second, iit->second, instrumenter)
122+
});
115123
assert(it_bool.second);
116124
if(it_bool.first->second!=iit->second)
117125
modified=true;

src/taint-slicer/irept_instrument.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ proces of "irept" hierarchical and shared data structures.
1313
1414
\*******************************************************************/
1515

16-
#ifndef CPROVER_TAINT_IREPT_INSTRUMENT_H
17-
#define CPROVER_TAINT_IREPT_INSTRUMENT_H
16+
#ifndef CPROVER_TAINT_SLICER_IREPT_INSTRUMENT_H
17+
#define CPROVER_TAINT_SLICER_IREPT_INSTRUMENT_H
1818

1919
#include <util/irep.h>
2020
#include <functional>

0 commit comments

Comments
 (0)