[llvm-commits] [llvm] r120590 - /llvm/trunk/unittests/Support/Path.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Wed Dec 1 11:23:49 PST 2010
Author: mspencer
Date: Wed Dec 1 13:23:49 2010
New Revision: 120590
URL: http://llvm.org/viewvc/llvm-project?rev=120590&view=rev
Log:
unittests/Support/PathV2: Fix -pedantic warning.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=120590&r1=120589&r2=120590&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Wed Dec 1 13:23:49 2010
@@ -21,7 +21,7 @@
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_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();
}
More information about the llvm-commits
mailing list