reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
474 ExitOnErr.setBanner("Error in tool:"); 475 ExitOnErr.setExitCodeMapper([](const Error &E) { 482 ExitOnErr(Error::success()); 483 EXPECT_EQ(ExitOnErr(Expected<int>(7)), 7) 487 int &B = ExitOnErr(Expected<int&>(A)); 491 EXPECT_EXIT(ExitOnErr(make_error<CustomError>(7)), 495 EXPECT_EXIT(ExitOnErr(Expected<int>(make_error<CustomSubError>(0, 0))),