reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/ErrorOrTest.cpp
   25   EXPECT_TRUE(!!a);
   26   EXPECT_EQ(1, *a);
   28   ErrorOr<int> b = a;
   31   a = t2();
   32   EXPECT_FALSE(a);
   33   EXPECT_EQ(a.getError(), errc::invalid_argument);
   35   EXPECT_DEBUG_DEATH(*a, "Cannot get value when an error exists");