v29.4-roots.1 · Commit 2: [PATCH 02/13] runtime: preserve shared operator controls
src/util/check.h
Before: src/util/check.h · After: src/util/check.h
File metadata
index efc78915a9e74dbb3b337aa8c68642b1347c25a2..3cc047e88ec9af383fa21a61513db6f46a197be0 100644
Download original patch · Release notes
Diff rows 1–12 of 12. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/util/check.h
CHANGED
|
@@ -21,6 +21,12 @@ constexpr bool G_FUZZING{
|
|
|
21
21
|
#endif
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
+
extern bool g_detail_test_only_CheckFailuresAreExceptionsNotAborts;
|
|
25
|
+
struct test_only_CheckFailuresAreExceptionsNotAborts {
|
|
26
|
+
test_only_CheckFailuresAreExceptionsNotAborts() { g_detail_test_only_CheckFailuresAreExceptionsNotAborts = true; };
|
|
27
|
+
~test_only_CheckFailuresAreExceptionsNotAborts() { g_detail_test_only_CheckFailuresAreExceptionsNotAborts = false; };
|
|
28
|
+
};
|
|
29
|
+
|
|
24
30
|
std::string StrFormatInternalBug(std::string_view msg, std::string_view file, int line, std::string_view func);
|
|
25
31
|
|
|
26
32
|
class NonFatalCheckError : public std::runtime_error
|