Dimitry Andric
e4f5d01033
Fix more inconsistent line endings. NFC.
...
llvm-svn: 321016
2017-12-18 19:46:56 +00:00
Michael Zolotukhin
62602a476a
Remove redundant includes from tools.
...
llvm-svn: 320631
2017-12-13 21:31:10 +00:00
Aaron Ballman
ecf0e95267
Add llvm::for_each as a range-based extensions to <algorithm> and make use of it in some cases where it is a more clear alternative to std::for_each.
...
llvm-svn: 317356
2017-11-03 20:01:25 +00:00
Richard Smith
2ad6d48b0c
Search for llvm-symbolizer binary in the same directory as argv[0], before
...
looking for it along $PATH. This allows installs of LLVM tools outside of
$PATH to find the symbolizer and produce pretty backtraces if they crash.
llvm-svn: 272232
2016-06-09 00:53:21 +00:00
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