diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-01 06:21:53 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-01 06:21:53 +0000 |
commit | ce2b68fb5444e712da14d214994c05bd231f221f (patch) | |
tree | c975ab19fc8533466907e56a9c16909a6fb1b1db /unittests/Support/Path.cpp | |
parent | ae18008584b5b38a44991bf7cdf02870f75c349a (diff) | |
download | external_llvm-ce2b68fb5444e712da14d214994c05bd231f221f.zip external_llvm-ce2b68fb5444e712da14d214994c05bd231f221f.tar.gz external_llvm-ce2b68fb5444e712da14d214994c05bd231f221f.tar.bz2 |
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/Support/Path.cpp')
-rw-r--r-- | unittests/Support/Path.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 3f50e70..2471864 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); |