Skip to content

Commit ee1e5b0

Browse files
author
Daniel Kroening
authored
Merge pull request #1060 from owen-jones-diffblue/doc/fix-typos
Doc/fix typos
2 parents a38c1c4 + cfc171c commit ee1e5b0

File tree

97 files changed

+174
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+174
-176
lines changed

src/analyses/ai.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class ai_baset
280280
std::pair<unsigned, locationt>(l->location_number, l));
281281
}
282282

283-
// true = found s.th. new
283+
// true = found something new
284284
bool fixedpoint(
285285
const goto_programt &goto_program,
286286
const goto_functionst &goto_functions,
@@ -297,7 +297,7 @@ class ai_baset
297297
const goto_functionst &goto_functions,
298298
const namespacet &ns);
299299

300-
// true = found s.th. new
300+
// true = found something new
301301
bool visit(
302302
locationt l,
303303
working_sett &working_set,

src/analyses/escape_analysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ void escape_domaint::check_lhs(
371371
{
372372
const irep_idt &identifier=to_symbol_expr(lhs).get_identifier();
373373

374-
// pointer with aleanup function?
374+
// pointer with cleanup function?
375375
const escape_domaint::cleanup_mapt::const_iterator m_it=
376376
cleanup_map.find(identifier);
377377

src/analyses/flow_insensitive_analysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class flow_insensitive_analysis_baset
161161
working_set.push(l);
162162
}
163163

164-
// true = found s.th. new
164+
// true = found something new
165165
bool fixedpoint(
166166
const goto_programt &goto_program,
167167
const goto_functionst &goto_functions);
@@ -173,7 +173,7 @@ class flow_insensitive_analysis_baset
173173
void fixedpoint(
174174
const goto_functionst &goto_functions);
175175

176-
// true = found s.th. new
176+
// true = found something new
177177
bool visit(
178178
locationt l,
179179
working_sett &working_set,

src/analyses/global_may_alias.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*******************************************************************\
22
3-
Module: Field-insensitive, location-sensitive gobal may alias analysis
3+
Module: Field-insensitive, location-sensitive global may alias analysis
44
55
Author: Daniel Kroening, [email protected]
66
77
\*******************************************************************/
88

99
/// \file
10-
/// Field-insensitive, location-sensitive gobal may alias analysis
10+
/// Field-insensitive, location-sensitive global may alias analysis
1111

1212
#include "global_may_alias.h"
1313

src/analyses/goto_check.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ void goto_checkt::goto_check(
15601560

15611561
add_guarded_claim(
15621562
not_eq_null,
1563-
"this is null on method invokation",
1563+
"this is null on method invocation",
15641564
"pointer dereference",
15651565
i.source_location,
15661566
pointer,

src/analyses/invariant_set.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ void invariant_sett::apply_code(const codet &code)
11031103
}
11041104
else if(statement==ID_function_call)
11051105
{
1106-
// may be a desaster
1106+
// may be a disaster
11071107
make_true();
11081108
}
11091109
else if(statement==ID_cpp_delete ||

src/analyses/invariant_set.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class invariant_sett
108108
const irep_idt &identifier,
109109
std::ostream &out) const;
110110

111-
// true = added s.th.
111+
// true = added something
112112
bool make_union(const invariant_sett &other_invariants);
113113

114114
void strengthen(const exprt &expr);
@@ -214,7 +214,7 @@ class invariant_sett
214214

215215
void get_bounds(unsigned a, boundst &dest) const;
216216

217-
// true = added s.th.
217+
// true = added something
218218
bool make_union_bounds_map(const bounds_mapt &other);
219219

220220
void modifies(unsigned a);

src/analyses/reaching_definitions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void rd_range_domaint::transform(
6767
// cleanup parameters
6868
else if(from->is_end_function())
6969
transform_end_function(ns, from, to, *rd);
70-
// lhs assignements
70+
// lhs assignments
7171
else if(from->is_assign())
7272
transform_assign(ns, from, from, *rd);
7373
// initial (non-deterministic) value
@@ -559,7 +559,7 @@ void rd_range_domaint::output(std::ostream &out) const
559559
}
560560
}
561561

562-
/// \return returns true iff there is s.th. new
562+
/// \return returns true iff there is something new
563563
bool rd_range_domaint::merge_inner(
564564
values_innert &dest,
565565
const values_innert &other)
@@ -610,7 +610,7 @@ bool rd_range_domaint::merge_inner(
610610
return more;
611611
}
612612

613-
/// \return returns true iff there is s.th. new
613+
/// \return returns true iff there is something new
614614
bool rd_range_domaint::merge(
615615
const rd_range_domaint &other,
616616
locationt from,
@@ -646,7 +646,7 @@ bool rd_range_domaint::merge(
646646
return changed;
647647
}
648648

649-
/// \return returns true iff there is s.th. new
649+
/// \return returns true iff there is something new
650650
bool rd_range_domaint::merge_shared(
651651
const rd_range_domaint &other,
652652
goto_programt::const_targett from,

src/analyses/reaching_definitions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class rd_range_domaint:public ai_domain_baset
147147
make_top();
148148
}
149149

150-
// returns true iff there is s.th. new
150+
// returns true iff there is something new
151151
bool merge(
152152
const rd_range_domaint &other,
153153
locationt from,

src/analyses/static_analysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class static_analysis_baset
188188
std::pair<unsigned, locationt>(l->location_number, l));
189189
}
190190

191-
// true = found s.th. new
191+
// true = found something new
192192
bool fixedpoint(
193193
const goto_programt &goto_program,
194194
const goto_functionst &goto_functions);
@@ -201,7 +201,7 @@ class static_analysis_baset
201201
void concurrent_fixedpoint(
202202
const goto_functionst &goto_functions);
203203

204-
// true = found s.th. new
204+
// true = found something new
205205
bool visit(
206206
locationt l,
207207
working_sett &working_set,

0 commit comments

Comments
 (0)