diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-01 19:23:49 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-01 19:23:49 +0000 |
commit | 9ceae88ffc47dbbba62bac35ef008b4cdd38dcfa (patch) | |
tree | eb329441e170f951cfbe012725b3e20b34fb22bb /llvm/unittests/Support | |
parent | 943fb60b1fd0dfbd6f75f65c9fb46e10a21a1a3d (diff) | |
download | bcm5719-llvm-9ceae88ffc47dbbba62bac35ef008b4cdd38dcfa.tar.gz bcm5719-llvm-9ceae88ffc47dbbba62bac35ef008b4cdd38dcfa.zip |
unittests/Support/PathV2: Fix -pedantic warning.
llvm-svn: 120590
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index 24718648996..dd831f90727 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/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(); } |