unittests/Support/PathV2: Fix -pedantic warning.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 19:23:49 +0000 (19:23 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 19:23:49 +0000 (19:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120590 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/Path.cpp

index 24718648996847c413ad7fda5b2f3722c8b90c52..dd831f90727606a2b76b4e88a23dd9a848ed0fb3 100644 (file)
@@ -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();
   }