summaryrefslogtreecommitdiffstats
path: root/unittests/Support/Path.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 19:23:49 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 19:23:49 +0000
commiteb21e3c22511d3ae1f0515336d830c680fc62c42 (patch)
treebf2c095a5dc30bfd57949c92d963c7ff9c4466a2 /unittests/Support/Path.cpp
parent9d63d90de5e57ad96f467b270544443a9284eb2b (diff)
downloadexternal_llvm-eb21e3c22511d3ae1f0515336d830c680fc62c42.zip
external_llvm-eb21e3c22511d3ae1f0515336d830c680fc62c42.tar.gz
external_llvm-eb21e3c22511d3ae1f0515336d830c680fc62c42.tar.bz2
unittests/Support/PathV2: Fix -pedantic warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/Path.cpp')
-rw-r--r--unittests/Support/Path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 2471864..dd831f9 100644
--- a/unittests/Support/Path.cpp
+++ b/unittests/Support/Path.cpp
@@ -21,7 +21,7 @@ using namespace llvm;
ASSERT_FALSE(ec.message().c_str()); \
TEST_OUT(funcname, output)
-#define TEST_PATH(func, ipath, res) TEST_PATH_(, func(ipath, res), func, res);
+#define TEST_PATH(func, ipath, res) TEST_PATH_(;, func(ipath, res), func, res);
#define TEST_PATH_SMALLVEC(func, ipath, inout) \
TEST_PATH_(inout = ipath, func(inout), func, inout)
@@ -125,7 +125,7 @@ TEST(Support, Path) {
TEST_PATH(extension, filename, ext);
EXPECT_EQ(*(--sys::path::end(filename)), (stem + ext).str());
- TEST_PATH_(, native(*i, temp_store), native, temp_store);
+ TEST_PATH_(;, native(*i, temp_store), native, temp_store);
outs().flush();
}