summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 06:21:53 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 06:21:53 +0000
commita72df5fae800ffc271b1e0761050516e56ca4a0c (patch)
tree857555eaf0e7fa26c72392d5f9a501a088022e70 /llvm/unittests/Support
parent112a769379d4a56b2b9bf038bef5bbbb2517bfbd (diff)
downloadbcm5719-llvm-a72df5fae800ffc271b1e0761050516e56ca4a0c.tar.gz
bcm5719-llvm-a72df5fae800ffc271b1e0761050516e56ca4a0c.zip
Support/PathV2: Add is_{absolute,relative} implementation.
llvm-svn: 120560
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/Path.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 3f50e708e64..24718648996 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -112,6 +112,8 @@ TEST(Support, Path) {
TEST_PATH(stem, *i, sfres);
TEST_PATH(has_extension, *i, bres);
TEST_PATH(extension, *i, sfres);
+ TEST_PATH(is_absolute, *i, bres);
+ TEST_PATH(is_relative, *i, bres);
SmallString<16> temp_store;
TEST_PATH_SMALLVEC(make_absolute, *i, temp_store);
OpenPOWER on IntegriCloud