HomeSort by relevance Sort by last modified time
    Searched refs:CustomSubError (Results 1 - 2 of 2) sorted by null

  /external/llvm/unittests/Support/
ErrorTest.cpp 57 class CustomSubError : public ErrorInfo<CustomSubError, CustomError> {
60 CustomSubError(int Info, int ExtraInfo) : ExtraInfo(ExtraInfo) {
69 OS << "CustomSubError { " << getInfo() << ", " << getExtraInfo() << "}";
73 llvm_unreachable("CustomSubError doesn't support ECError conversion");
83 char CustomSubError::ID = 0;
155 Error F = make_error<CustomSubError>(1, 2);
159 EXPECT_FALSE(E.isA<CustomSubError>());
161 EXPECT_TRUE(F.isA<CustomSubError>());
244 handleAllErrors(make_error<CustomSubError>(42, 7)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
ErrorTest.cpp 59 class CustomSubError : public ErrorInfo<CustomSubError, CustomError> {
62 CustomSubError(int Info, int ExtraInfo) : ExtraInfo(ExtraInfo) {
71 OS << "CustomSubError { " << getInfo() << ", " << getExtraInfo() << "}";
75 llvm_unreachable("CustomSubError doesn't support ECError conversion");
85 char CustomSubError::ID = 0;
160 Error F = make_error<CustomSubError>(1, 2);
164 EXPECT_FALSE(E.isA<CustomSubError>());
166 EXPECT_TRUE(F.isA<CustomSubError>());
249 handleAllErrors(make_error<CustomSubError>(42, 7)
    [all...]

Completed in 531 milliseconds