HomeSort by: relevance | last modified time | path
    Searched defs:StringError (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Support/
Error.cpp 58 char StringError::ID = 0;
116 StringError::StringError(std::error_code EC, const Twine &S)
119 StringError::StringError(const Twine &S, std::error_code EC)
122 void StringError::log(raw_ostream &OS) const {
132 std::error_code StringError::convertToErrorCode() const {
137 return make_error<StringError>(Msg, EC);
169 return reinterpret_cast<void *>(&StringError::ID);
173 return wrap(make_error<StringError>(ErrMsg, inconvertibleErrorCode()))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Error.h 1157 /// StringError is useful in cases where the client is not expected to be able
1161 /// StringError can also be used when additional information is to be printed
1170 /// PDBError is derived from StringError:
1179 class StringError : public ErrorInfo<StringError> {
1184 StringError(std::error_code EC, const Twine &S = Twine());
1187 StringError(const Twine &S, std::error_code EC);
1200 /// Create formatted StringError object.
1207 return make_error<StringError>(Stream.str(), EC);

Completed in 19 milliseconds