|
26 | 26 |
|
27 | 27 | #include <langapi/language.h>
|
28 | 28 |
|
29 |
| -#define JAVA_BYTECODE_LANGUAGE_OPTIONS /*NOLINT*/ \ |
30 |
| - "(java-assume-inputs-non-null)" \ |
31 |
| - "(java-throw-runtime-exceptions)" \ |
32 |
| - "(java-max-input-array-length):" \ |
33 |
| - "(java-max-input-tree-depth):" \ |
34 |
| - "(java-max-vla-length):" \ |
35 |
| - "(java-cp-include-files):" \ |
36 |
| - "(lazy-methods)" \ |
37 |
| - "(lazy-methods-extra-entry-point):" \ |
38 |
| - "(java-load-class):" \ |
| 29 | +// clang-format off |
| 30 | +#define JAVA_BYTECODE_LANGUAGE_OPTIONS /*NOLINT*/ \ |
| 31 | + "(no-uncaught-exception-check)" \ |
| 32 | + "(java-assume-inputs-non-null)" \ |
| 33 | + "(java-throw-runtime-exceptions)" \ |
| 34 | + "(java-max-input-array-length):" \ |
| 35 | + "(java-max-input-tree-depth):" \ |
| 36 | + "(java-max-vla-length):" \ |
| 37 | + "(java-cp-include-files):" \ |
| 38 | + "(lazy-methods)" \ |
| 39 | + "(lazy-methods-extra-entry-point):" \ |
| 40 | + "(java-load-class):" \ |
39 | 41 | "(java-no-load-class):"
|
40 | 42 |
|
41 | 43 | #define JAVA_BYTECODE_LANGUAGE_OPTIONS_HELP /*NOLINT*/ \
|
| 44 | + " --no-uncaught-exception-check ignore uncaught exceptions and errors\n" \ |
42 | 45 | " --java-assume-inputs-non-null never initialize reference-typed parameter to the\n" /* NOLINT(*) */ \
|
43 | 46 | " entry point with null\n" /* NOLINT(*) */ \
|
44 | 47 | " --java-throw-runtime-exceptions make implicit runtime exceptions explicit\n" /* NOLINT(*) */ \
|
|
55 | 58 | " treat METHODNAME as a possible program entry point for\n" /* NOLINT(*) */ \
|
56 | 59 | " the purpose of lazy method loading\n" /* NOLINT(*) */ \
|
57 | 60 | " A '.*' wildcard is allowed to specify all class members\n"
|
| 61 | +// clang-format on |
58 | 62 |
|
59 | 63 | class symbolt;
|
60 | 64 |
|
@@ -167,6 +171,7 @@ class java_bytecode_languaget:public languaget
|
167 | 171 | std::vector<irep_idt> lazy_methods_extra_entry_points;
|
168 | 172 | bool string_refinement_enabled;
|
169 | 173 | bool throw_runtime_exceptions;
|
| 174 | + bool assert_uncaught_exceptions; |
170 | 175 | java_string_library_preprocesst string_preprocess;
|
171 | 176 | std::string java_cp_include_files;
|
172 | 177 |
|
|
0 commit comments