v30.3-roots.1 · Commit 2: [PATCH 02/68] feat(runtime): preserve Roots operator controls on Core 30.3
src/util/check.h
Before: src/util/check.h · After: src/util/check.h
File metadata
index 6548453a97e681ca87fcaa770e24b8d112d57b99..4156c044ecf4a465f2b26d300f21b270c7e31dfe 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/util/check.h
CHANGED
|
@@ -46,6 +46,12 @@ inline bool EnableFuzzDeterminism()
|
|
| 46 |
}
|
| 47 |
}
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
std::string StrFormatInternalBug(std::string_view msg, std::string_view file, int line, std::string_view func);
|
| 50 |
|
| 51 |
class NonFatalCheckError : public std::runtime_error
|
|
|
|
| 46 |
}
|
| 47 |
}
|
| 48 |
|
| 49 |
+
extern bool g_detail_test_only_CheckFailuresAreExceptionsNotAborts;
|
| 50 |
+
struct test_only_CheckFailuresAreExceptionsNotAborts {
|
| 51 |
+
test_only_CheckFailuresAreExceptionsNotAborts() { g_detail_test_only_CheckFailuresAreExceptionsNotAborts = true; };
|
| 52 |
+
~test_only_CheckFailuresAreExceptionsNotAborts() { g_detail_test_only_CheckFailuresAreExceptionsNotAborts = false; };
|
| 53 |
+
};
|
| 54 |
+
|
| 55 |
std::string StrFormatInternalBug(std::string_view msg, std::string_view file, int line, std::string_view func);
|
| 56 |
|
| 57 |
class NonFatalCheckError : public std::runtime_error
|