David Blaikie
1961f14cf9
Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr
...
llvm-svn: 216223
2014-08-21 20:44:56 +00:00
Rafael Espindola
adf21f2a56
Update the MemoryBuffer API to use ErrorOr.
...
llvm-svn: 212405
2014-07-06 17:43:13 +00:00
Rafael Espindola
4453e42945
Remove 'using std::error_code' from tools.
...
llvm-svn: 210876
2014-06-13 03:07:50 +00:00
Rafael Espindola
3acea39853
Don't use 'using std::error_code' in include/llvm.
...
This should make sure that most new uses use the std prefix.
llvm-svn: 210835
2014-06-12 21:46:39 +00:00
Rafael Espindola
a6e9c3e43a
Remove system_error.h.
...
This is a minimal change to remove the header. I will remove the occurrences
of "using std::error_code" in a followup patch.
llvm-svn: 210803
2014-06-12 17:38:55 +00:00
Ahmed Charles
56440fd820
Replace OwningPtr<T> with std::unique_ptr<T>.
...
This compiles with no changes to clang/lld/lldb with MSVC and includes
overloads to various functions which are used by those projects and llvm
which have OwningPtr's as parameters. This should allow out of tree
projects some time to move. There are also no changes to libs/Target,
which should help out of tree targets have time to move, if necessary.
llvm-svn: 203083
2014-03-06 05:51:42 +00:00
Ahmed Charles
96c9d95f51
[C++11] Replace OwningPtr::take() with OwningPtr::release().
...
llvm-svn: 202957
2014-03-05 10:19:29 +00:00
Jim Grosbach
acd8801e25
MC: Simple example parser for MC assembly markup.
...
Nothing fancy, just a simple demonstration parser.
llvm-svn: 167181
2012-10-31 23:24:13 +00:00