Lines Matching defs:CE

88 static Error handleCustomError(const CustomError &CE) {
92 static void handleCustomErrorVoid(const CustomError &CE) {}
94 static Error handleCustomErrorUP(std::unique_ptr<CustomError> CE) {
98 static void handleCustomErrorUPVoid(std::unique_ptr<CustomError> CE) {}
178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) {
179 CaughtErrorInfo = CE.getInfo();
200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {});
204 [](const CustomError &CE) mutable -> Error { return Error::success(); });
207 [](const CustomError &CE) mutable {});
210 [](CustomError &CE) -> Error { return Error::success(); });
212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {});
215 [](CustomError &CE) mutable -> Error { return Error::success(); });
217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {});
221 [](std::unique_ptr<CustomError> CE) -> Error { return Error::success(); });
224 [](std::unique_ptr<CustomError> CE) {});
228 [](std::unique_ptr<CustomError> CE) mutable -> Error { return Error::success(); });
231 [](std::unique_ptr<CustomError> CE) mutable {});
272 [&](const CustomError &CE) { DummyInfo = CE.getInfo(); });
287 [&](const CustomError &CE) { CaughtErrorInfo = CE.getInfo(); },
314 [&](const CustomError &CE) {
322 CustomErrorInfo1 = CE.getInfo();
337 [&](const CustomError &CE) {
338 Sum += CE.getInfo();
351 [&](const CustomError &CE) {
352 Sum += CE.getInfo();
368 [&](const CustomError &CE) {
369 Sum += CE.getInfo();
431 [&](std::unique_ptr<CustomError> CE) { return Error(std::move(CE)); });
434 [&](const CustomError &CE) { ErrorInfo = CE.getInfo(); });
753 handleAllErrors(std::move(E2), [](const CustomError &CE) {
754 EXPECT_EQ(CE.message(), "CustomError {0}");
926 [&](CustomError &CE) {