File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 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(
126126 }
127127 }
128128 }
129- throw no_decl_found_exception (variable_name.c_str ());
129+ throw no_decl_found_exceptiont (variable_name.c_str ());
130130}
Original file line number Diff line number Diff line change 1616#include < util/std_types.h>
1717#include < goto-programs/goto_program.h>
1818
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
2121
22+ // NOLINTNEXTLINE(readability/namespace)
2223namespace require_goto_statements
2324{
2425struct pointer_assignment_locationt
@@ -27,11 +28,11 @@ struct pointer_assignment_locationt
2728 std::vector<code_assignt> non_null_assignments;
2829};
2930
30- class no_decl_found_exception : public std ::exception
31+ class no_decl_found_exceptiont : public std ::exception
3132{
3233public:
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 )
3536 {
3637 }
3738
@@ -62,4 +63,4 @@ const code_declt &require_declaration_of_name(
6263 const std::vector<codet> &entry_point_instructions);
6364}
6465
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