[llvm] r202050 - Fix windows unittest I missed in the raw_fd_ostream constructor change.

Rafael Espindola rafael.espindola at gmail.com
Mon Feb 24 08:40:35 PST 2014


Author: rafael
Date: Mon Feb 24 10:40:34 2014
New Revision: 202050

URL: http://llvm.org/viewvc/llvm-project?rev=202050&view=rev
Log:
Fix windows unittest I missed in the raw_fd_ostream constructor change.

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=202050&r1=202049&r2=202050&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Mon Feb 24 10:40:34 2014
@@ -521,7 +521,7 @@ TEST_F(FileSystemTest, CarriageReturn) {
   path::append(FilePathname, "test");
 
   {
-    raw_fd_ostream File(FilePathname.c_str(), ErrMsg);
+    raw_fd_ostream File(FilePathname.c_str(), ErrMsg, sys::fs::F_None);
     EXPECT_EQ(ErrMsg, "");
     File << '\n';
   }





More information about the llvm-commits mailing list