Searched refs:CustomSubError (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | ErrorTest.cpp | 57 class CustomSubError : public ErrorInfo<CustomSubError, CustomError> { class 60 CustomSubError(int Info, int ExtraInfo) : ExtraInfo(ExtraInfo) { in CustomSubError() function in __anon7f273a840111::CustomSubError 83 char CustomSubError::ID = 0; 155 Error F = make_error<CustomSubError>(1, 2); in TEST() 159 EXPECT_FALSE(E.isA<CustomSubError>()); in TEST() 161 EXPECT_TRUE(F.isA<CustomSubError>()); in TEST() 244 handleAllErrors(make_error<CustomSubError>(42, 7), in TEST() 245 [&](const CustomSubError &SE) { in TEST() 260 handleAllErrors(make_error<CustomSubError>(42, 7), in TEST() 261 [&](const CustomSubError &SE) { in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ErrorTest.cpp | 59 class CustomSubError : public ErrorInfo<CustomSubError, CustomError> { class 62 CustomSubError(int Info, int ExtraInfo) : ExtraInfo(ExtraInfo) { in CustomSubError() function in __anon987051bc0111::CustomSubError 85 char CustomSubError::ID = 0; 160 Error F = make_error<CustomSubError>(1, 2); in TEST() 164 EXPECT_FALSE(E.isA<CustomSubError>()); in TEST() 166 EXPECT_TRUE(F.isA<CustomSubError>()); in TEST() 249 handleAllErrors(make_error<CustomSubError>(42, 7), in TEST() 250 [&](const CustomSubError &SE) { in TEST() 265 handleAllErrors(make_error<CustomSubError>(42, 7), in TEST() 266 [&](const CustomSubError &SE) { in TEST() [all …]
|