summaryrefslogtreecommitdiff
path: root/unittests
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
commitce2b68fb5444e712da14d214994c05bd231f221f (patch)
treec975ab19fc8533466907e56a9c16909a6fb1b1db /unittests
parentae18008584b5b38a44991bf7cdf02870f75c349a (diff)
downloadllvm-ce2b68fb5444e712da14d214994c05bd231f221f.tar.gz
llvm-ce2b68fb5444e712da14d214994c05bd231f221f.tar.bz2
llvm-ce2b68fb5444e712da14d214994c05bd231f221f.tar.xz
Support/PathV2: Add is_{absolute,relative} implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 3f50e708e6..2471864899 100644
--- a/unittests/Support/Path.cpp
+++ b/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);