Home
last modified time | relevance | path

Searched refs:CastsToErrorCode (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DErrorOrTest.cpp91 struct CastsToErrorCode { in TEST() struct
92 CastsToErrorCode() = default; in TEST()
93 CastsToErrorCode(std::error_code) {} in TEST() function
96 ErrorOr<CastsToErrorCode> x1(casts_to_error_code); in TEST()
97 ErrorOr<CastsToErrorCode> x2 = casts_to_error_code; in TEST()
98 ErrorOr<CastsToErrorCode> x3 = {casts_to_error_code}; in TEST()
99 ErrorOr<CastsToErrorCode> x4{casts_to_error_code}; in TEST()
100 ErrorOr<CastsToErrorCode> x5(errc::no_such_file_or_directory); in TEST()
101 ErrorOr<CastsToErrorCode> x6 = errc::no_such_file_or_directory; in TEST()
102 ErrorOr<CastsToErrorCode> x7 = {errc::no_such_file_or_directory}; in TEST()
[all …]
/external/llvm/unittests/Support/
DErrorOrTest.cpp91 struct CastsToErrorCode { in TEST() struct
92 CastsToErrorCode() = default; in TEST()
93 CastsToErrorCode(std::error_code) {} in TEST() function
96 ErrorOr<CastsToErrorCode> x1(casts_to_error_code); in TEST()
97 ErrorOr<CastsToErrorCode> x2 = casts_to_error_code; in TEST()
98 ErrorOr<CastsToErrorCode> x3 = {casts_to_error_code}; in TEST()
99 ErrorOr<CastsToErrorCode> x4{casts_to_error_code}; in TEST()
100 ErrorOr<CastsToErrorCode> x5(errc::no_such_file_or_directory); in TEST()
101 ErrorOr<CastsToErrorCode> x6 = errc::no_such_file_or_directory; in TEST()
102 ErrorOr<CastsToErrorCode> x7 = {errc::no_such_file_or_directory}; in TEST()
[all …]