Commit History

Author SHA1 Message Date
  Chandler Carruth 6b547686c5 Update the file headers across all of the LLVM projects in the monorepo 6 years ago
  Richard Smith b13ea4ef63 Fix incorrect usage of std::is_assignable. 7 years ago
  Nick Lewycky 3775b63f3e Use std::forward to make ErrorOr<T> constructible from a value that has a user-defined conversion to T. No functionality change intended. 9 years ago
  Rafael Espindola 803fe19680 Don't use std::errc. 10 years ago
  Michael J. Spencer b86942cca4 [Support] Fix ErrorOr equality operator. 10 years ago
  David Blaikie 38a4f3bbec Ensure ErrorOr cannot implicitly invoke explicit ctors of the underlying type. 11 years ago
  Rafael Espindola d8b23109b2 Finishing touch for the std::error_code transition. 11 years ago
  Rafael Espindola 7acd886ecf Use std::error_code instead of llvm::error_code. 11 years ago
  Craig Topper b177041dfa [C++11] Use 'nullptr'. 11 years ago
  Chandler Carruth 73bbab9d75 [C++11] Remove LLVM_HAS_CXX11_STDLIB now that it is just on. 11 years ago
  Rafael Espindola e82dec5c0f Use LLVM_EXPLICIT instead of a function pointer as bool. 11 years ago
  Rafael Espindola e279c777f7 Add a unit test for the copy constructor. 11 years ago
  Rafael Espindola dee18bb2e8 Use getError and remove the error_code operator. 11 years ago
  Chandler Carruth 974a445bd9 Re-sort all of the includes with ./utils/sort_includes.py so that 11 years ago
  Rafael Espindola f94b3480fc Simplify ErrorOr. 11 years ago
  Michael J. Spencer 9b4886ee55 [Support][ErrorOr] Add support for implicit conversion from error code/condition enums. 12 years ago
  Michael J. Spencer 780e9004c8 [Support][ErrorOr] Add support for convertable types. 12 years ago
  Andrew Trick 2a78bb961a Revert "[Support][ErrorOr] Add support for convertable types." 12 years ago
  Michael J. Spencer a33e1fafac [Support][ErrorOr] Add support for convertable types. 12 years ago
  Michael J. Spencer bdd4e13118 [Support][ErrorOr] Add optimized specialization of ErrorOr<void>. 12 years ago
  NAKAMURA Takumi 93d61374f3 ErrorOrTest.cpp: Check existence of EXPECT_DEBUG_DEATH. It is not always available. 12 years ago
  Michael J. Spencer 7babd25ae4 [Support] Make test C++03. 12 years ago
  Benjamin Kramer c052d5b047 Disable test that fails due to lack of std::true_type in C++03. 12 years ago
  Michael J. Spencer 01812bebcc [Support] Port ErrorOr<T> from lld to C++03. 12 years ago