Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes warnings emitted by Visual Studio 2010 compiler. | Oscar Fuentes | 2011-03-01 | 1 | -1/+1 |
| | | | | | | Patch by Erik Olofsson! llvm-svn: 126796 | ||||
* | Adds llvm::sys::path::is_separator() to test whether a char is a path separator | Zhanyong Wan | 2011-02-11 | 1 | -0/+13 |
| | | | | | | on the host OS. Reviewed by dgregor. llvm-svn: 125406 | ||||
* | Unittests/Support/Path: Tweak test. | Michael J. Spencer | 2011-01-15 | 1 | -1/+1 |
| | | | | llvm-svn: 123546 | ||||
* | UnitTests/Path: Add magical tests. This will also test identify_magic. | Michael J. Spencer | 2011-01-06 | 1 | -0/+23 |
| | | | | llvm-svn: 122948 | ||||
* | UnitTests/Path: More ASSERT_NO_ERROR cleanup. | Michael J. Spencer | 2011-01-06 | 1 | -12/+11 |
| | | | | llvm-svn: 122947 | ||||
* | UnitTests/Path: Fix typo, add error number, and enable the directory cleanup ↵ | Michael J. Spencer | 2011-01-05 | 1 | -7/+12 |
| | | | | | | code. llvm-svn: 122885 | ||||
* | UnitTests/PathV2: Setup a test fixture to make tracking created file system | Michael J. Spencer | 2011-01-05 | 1 | -0/+24 |
| | | | | | | entities easier. llvm-svn: 122880 | ||||
* | Support/PathV2: Implement directory iteration on POSIX. | Michael J. Spencer | 2011-01-05 | 1 | -3/+0 |
| | | | | llvm-svn: 122879 | ||||
* | UnitTests/Path: Produce useful diagnostics on error. | Michael J. Spencer | 2011-01-04 | 1 | -17/+25 |
| | | | | llvm-svn: 122812 | ||||
* | Change all self assignments X=X to (void)X, so that we can turn on a | Jeffrey Yasskin | 2010-12-23 | 1 | -2/+2 |
| | | | | | | | new gcc warning that complains on self-assignments and self-initializations. llvm-svn: 122458 | ||||
* | Support/PathV2: Change most functions in the path namespace to return their work | Michael J. Spencer | 2010-12-07 | 1 | -20/+18 |
| | | | | | | via their return value instead of an out parameter. llvm-svn: 121149 | ||||
* | PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and | Jay Foad | 2010-12-07 | 1 | -10/+10 |
| | | | | | | | | zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121120 | ||||
* | Support/PathV2: Remove the error_code return type from all functions in the path | Michael J. Spencer | 2010-12-07 | 1 | -21/+21 |
| | | | | | | | namespace. None of them return anything except for success anyway. These will be converted to returning their result soon. llvm-svn: 121109 | ||||
* | Support/PathV2: Move make_absolute from path to fs. | Michael J. Spencer | 2010-12-07 | 1 | -1/+1 |
| | | | | llvm-svn: 121108 | ||||
* | Support/FileSystem: Add directory_iterator implementation. | Michael J. Spencer | 2010-12-06 | 1 | -0/+13 |
| | | | | llvm-svn: 120989 | ||||
* | Unittests/Support/PathV2: Add FileSystem tests. | Michael J. Spencer | 2010-12-04 | 1 | -0/+35 |
| | | | | llvm-svn: 120888 | ||||
* | Support/FileSystem: Add remove implementation. | Michael J. Spencer | 2010-12-03 | 1 | -1/+2 |
| | | | | llvm-svn: 120817 | ||||
* | unittests/Support/PathV2: remove(3) requires a terminated string. | Benjamin Kramer | 2010-12-03 | 1 | -3/+2 |
| | | | | llvm-svn: 120803 | ||||
* | Unittests/Support/PathV2: Cleanup and remove output. | Michael J. Spencer | 2010-12-03 | 1 | -44/+27 |
| | | | | llvm-svn: 120785 | ||||
* | unittests/Support/PathV2: Comment out test because some systems are saying that | Michael J. Spencer | 2010-12-03 | 1 | -1/+2 |
| | | | | | | a file exists when it shouldn't. llvm-svn: 120784 | ||||
* | Support/FileSystem: Add unique_file and exists implementations. | Michael J. Spencer | 2010-12-03 | 1 | -0/+18 |
| | | | | llvm-svn: 120776 | ||||
* | Make valgrind happy. | Michael J. Spencer | 2010-12-01 | 1 | -0/+2 |
| | | | | llvm-svn: 120616 | ||||
* | unittests/Support/PathV2: Fix -pedantic warning. | Michael J. Spencer | 2010-12-01 | 1 | -2/+2 |
| | | | | llvm-svn: 120590 | ||||
* | Support/PathV2: Add is_{absolute,relative} implementation. | Michael J. Spencer | 2010-12-01 | 1 | -0/+2 |
| | | | | llvm-svn: 120560 | ||||
* | Support/PathV2: Add ↵ | Michael J. Spencer | 2010-12-01 | 1 | -0/+8 |
| | | | | | | has_{root_path,root_name,root_directory,parent_path,filename,stem,extension} implementation. llvm-svn: 120559 | ||||
* | unittests/Support/PathV2: Make tests much shorter; although harder to ↵ | Michael J. Spencer | 2010-12-01 | 1 | -49/+35 |
| | | | | | | | | | understand. I'm going to replace this all anyway with a proper table and separated tests when done. llvm-svn: 120558 | ||||
* | Support/PathV2: Add extension implementation. | Michael J. Spencer | 2010-12-01 | 1 | -2/+12 |
| | | | | llvm-svn: 120550 | ||||
* | Support/PathV2: Add stem implementation. | Michael J. Spencer | 2010-12-01 | 1 | -0/+7 |
| | | | | llvm-svn: 120547 | ||||
* | Support/PathV2: Add filename implementation. | Michael J. Spencer | 2010-12-01 | 1 | -0/+3 |
| | | | | llvm-svn: 120546 | ||||
* | Support/PathV2: Add native implementation. | Michael J. Spencer | 2010-12-01 | 1 | -0/+3 |
| | | | | llvm-svn: 120539 | ||||
* | Support/PathV2: Add replace_extension implementation. | Michael J. Spencer | 2010-12-01 | 1 | -0/+4 |
| | | | | llvm-svn: 120514 | ||||
* | Support/PathV2: Add remove_filename implementation. | Michael J. Spencer | 2010-12-01 | 1 | -0/+4 |
| | | | | llvm-svn: 120513 | ||||
* | Support/PathV2: Implement reverse iteration and parent_path. | Michael J. Spencer | 2010-11-30 | 1 | -0/+12 |
| | | | | llvm-svn: 120496 | ||||
* | Support/PathV2: Fix 80 col. | Michael J. Spencer | 2010-11-29 | 1 | -4/+8 |
| | | | | llvm-svn: 120349 | ||||
* | unittests: Merge SystemTests back into SupportTests. | Michael J. Spencer | 2010-11-29 | 2 | -0/+114 |
| | | | | llvm-svn: 120330 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 2 | -2/+2 |
| | | | | llvm-svn: 120298 | ||||
* | unittests: Add SystemTests. | Michael J. Spencer | 2010-11-24 | 1 | -16/+0 |
| | | | | llvm-svn: 120101 | ||||
* | reimplement SwapByteOrder.h in terms of overloading instead of | Chris Lattner | 2010-11-23 | 1 | -8/+8 |
| | | | | | | being in terms of excessively complex template logic. llvm-svn: 119992 | ||||
* | Support: Add Endian.h | Michael J. Spencer | 2010-10-21 | 1 | -0/+72 |
| | | | | llvm-svn: 117057 | ||||
* | Unit Tests: Missed this error. MSVC and clang didn't complain. | Michael J. Spencer | 2010-10-11 | 1 | -4/+4 |
| | | | | llvm-svn: 116252 | ||||
* | System: Add SwapByteOrder and update Support/MathExtras.h to use it. | Michael J. Spencer | 2010-10-11 | 1 | -0/+128 |
| | | | | | | This time correctly. llvm-svn: 116247 | ||||
* | Revert "System: Add SwapByteOrder and update Support/MathExtras.h to use it." | Michael J. Spencer | 2010-10-11 | 1 | -128/+0 |
| | | | | | | | | This reverts commit 116234. It compiled just fine with MSVC and clang... llvm-svn: 116242 | ||||
* | System: Add SwapByteOrder and update Support/MathExtras.h to use it. | Michael J. Spencer | 2010-10-11 | 1 | -0/+128 |
| | | | | llvm-svn: 116234 | ||||
* | static_cast to long, otherwise MSVC 2008 won't compile. | Francois Pichet | 2010-10-04 | 1 | -1/+1 |
| | | | | llvm-svn: 115503 | ||||
* | Make ConstantRange::makeICmpRegion handle all the edge cases properly. This | Nick Lewycky | 2010-09-28 | 1 | -0/+8 |
| | | | | | | also fixes PR8250. llvm-svn: 114972 | ||||
* | unittests: Support Windows. | Michael J. Spencer | 2010-09-24 | 1 | -1/+1 |
| | | | | llvm-svn: 114727 | ||||
* | Add a new isSignWrappedSet() method to ConstantRange. | Nick Lewycky | 2010-09-06 | 1 | -4/+22 |
| | | | | | | | | | Fix zeroExtend and signExtend to support empty sets, and to return the smallest possible result set which contains the extension of each element in their inputs. For example zext i8 [100, 10) to i16 is now [0, 256), not i16 [100, 10) which contains 63446 members. llvm-svn: 113187 | ||||
* | zap dead code. | Chris Lattner | 2010-09-01 | 1 | -1/+0 |
| | | | | llvm-svn: 112708 | ||||
* | Clean up ConstantRange a bit: | Nick Lewycky | 2010-08-11 | 1 | -3/+63 |
| | | | | | | | | | - remove ashr which never worked. - fix lshr and shl and add tests. - remove dead function "intersect1Wrapped". - add a new sub method to subtract ranges, with test. llvm-svn: 110861 | ||||
* | Add an inverse() method to ConstantRange. | Owen Anderson | 2010-08-07 | 1 | -0/+3 |
| | | | | llvm-svn: 110504 |