File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -126,5 +126,5 @@ const code_declt &require_goto_statements::require_declaration_of_name(
126
126
}
127
127
}
128
128
}
129
- throw no_decl_found_exception (variable_name.c_str ());
129
+ throw no_decl_found_exceptiont (variable_name.c_str ());
130
130
}
Original file line number Diff line number Diff line change 16
16
#include < util/std_types.h>
17
17
#include < goto-programs/goto_program.h>
18
18
19
- #ifndef CPROVER_TESTING_UTILS_CHECK_GOTO_FUNCTIONS_H
20
- #define CPROVER_TESTING_UTILS_CHECK_GOTO_FUNCTIONS_H
19
+ #ifndef CPROVER_TESTING_UTILS_REQUIRE_GOTO_STATEMENTS_H
20
+ #define CPROVER_TESTING_UTILS_REQUIRE_GOTO_STATEMENTS_H
21
21
22
+ // NOLINTNEXTLINE(readability/namespace)
22
23
namespace require_goto_statements
23
24
{
24
25
struct pointer_assignment_locationt
@@ -27,11 +28,11 @@ struct pointer_assignment_locationt
27
28
std::vector<code_assignt> non_null_assignments;
28
29
};
29
30
30
- class no_decl_found_exception : public std ::exception
31
+ class no_decl_found_exceptiont : public std ::exception
31
32
{
32
33
public:
33
- explicit no_decl_found_exception (const std::string &varname )
34
- : _varname(varname )
34
+ explicit no_decl_found_exceptiont (const std::string &var_name )
35
+ : _varname(var_name )
35
36
{
36
37
}
37
38
@@ -62,4 +63,4 @@ const code_declt &require_declaration_of_name(
62
63
const std::vector<codet> &entry_point_instructions);
63
64
}
64
65
65
- #endif // TEST_GEN_SUPERBUILD_JAVA_TESTING_UTILS_H
66
+ #endif // CPROVER_TESTING_UTILS_REQUIRE_GOTO_STATEMENTS_H
You can’t perform that action at this time.
0 commit comments