diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-09-24 09:10:21 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-09-24 09:10:21 +0000 |
commit | 6b096c35c7fae6e638138d698af7523edeafcac4 (patch) | |
tree | 9ed431357bfdacf0c75a6bc849847d76f164fc7b /utils/unittest | |
parent | ddfce8f95b4e2cf9b899d1a4f2105d12ede0a155 (diff) | |
download | external_llvm-6b096c35c7fae6e638138d698af7523edeafcac4.zip external_llvm-6b096c35c7fae6e638138d698af7523edeafcac4.tar.gz external_llvm-6b096c35c7fae6e638138d698af7523edeafcac4.tar.bz2 |
Fix line endings from my last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest')
-rw-r--r-- | utils/unittest/UnitTestMain/TestMain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/unittest/UnitTestMain/TestMain.cpp b/utils/unittest/UnitTestMain/TestMain.cpp index ed42c22..4e4c210 100644 --- a/utils/unittest/UnitTestMain/TestMain.cpp +++ b/utils/unittest/UnitTestMain/TestMain.cpp @@ -29,11 +29,11 @@ int main(int argc, char **argv) { ::SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); # if defined(_MSC_VER) ::_set_error_mode(_OUT_TO_STDERR); - ::_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG);
+ ::_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG); ::_CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR); - ::_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG);
+ ::_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG); ::_CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR); - ::_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG);
+ ::_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG); ::_CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR); # endif # endif |