Chandler Carruth
9a67b07398
Re-sort #include lines for unittests. This uses a slightly modified
...
clang-format (https://reviews.llvm.org/D33932 ) to keep primary headers
at the top and handle new utility headers like 'gmock' consistently with
other utility headers.
No other change was made. I did no manual edits, all of this is
clang-format.
This should allow other changes to have more clear and focused diffs,
and is especially motivated by moving some headers into more focused
libraries.
llvm-svn: 304786
2017-06-06 11:06:56 +00:00
Pawel Bylica
c3aeb85fe5
Unit tests for the getSwappedBytes(double) fix from r237673.
...
llvm-svn: 237795
2015-05-20 14:57:43 +00:00
Artyom Skrobov
e2d6008d2e
Adding llvm::sys::swapByteOrder() for the common use-case of byte-swapping a value in place
...
llvm-svn: 210976
2014-06-14 12:52:55 +00:00
Artyom Skrobov
ef5e867f16
Renaming SwapByteOrder() to getSwappedBytes()
...
The next commit will add swapByteOrder(), acting in-place
llvm-svn: 210973
2014-06-14 11:36:01 +00:00
Alp Toker
cb40291100
Fix known typos
...
Sweep the codebase for common typos. Includes some changes to visible function
names that were misspelt.
llvm-svn: 200018
2014-01-24 17:20:08 +00:00
Michael J. Spencer
447762da85
Merge System into Support.
...
llvm-svn: 120298
2010-11-29 18:16:10 +00:00
Chris Lattner
8bec7227d4
reimplement SwapByteOrder.h in terms of overloading instead of
...
being in terms of excessively complex template logic.
llvm-svn: 119992
2010-11-23 04:04:25 +00:00
Michael J. Spencer
b28ce01e34
Unit Tests: Missed this error. MSVC and clang didn't complain.
...
llvm-svn: 116252
2010-10-11 22:04:38 +00:00
Michael J. Spencer
ded95b79f2
System: Add SwapByteOrder and update Support/MathExtras.h to use it.
...
This time correctly.
llvm-svn: 116247
2010-10-11 21:56:16 +00:00
Michael J. Spencer
43e92d1162
Revert "System: Add SwapByteOrder and update Support/MathExtras.h to use it."
...
This reverts commit 116234.
It compiled just fine with MSVC and clang...
llvm-svn: 116242
2010-10-11 21:39:24 +00:00
Michael J. Spencer
ae0c34e127
System: Add SwapByteOrder and update Support/MathExtras.h to use it.
...
llvm-svn: 116234
2010-10-11 21:22:22 +00:00