[libc-commits] [libc] [libc][test] adds errno clearer test fixture, gtest-style errno and fp except assertions (PR #91608)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri May 10 15:49:11 PDT 2024


================
@@ -18,7 +18,7 @@ namespace LIBC_NAMESPACE::testing {
 // This provides a test fixture (or base class for other test fixtures) that
 // asserts that each test does not leave the FPU state represented by `fenv_t`
 // (aka `FPState`) perturbed from its initial state.
-class FEnvSafeTest : public Test {
+class FEnvSafeTest : virtual public Test {
----------------
michaelrj-google wrote:

why does this need to be `virtual` now?

https://github.com/llvm/llvm-project/pull/91608


More information about the libc-commits mailing list