[Lldb-commits] [lldb] r232560 - Convert CRLF to LF.

Zachary Turner zturner at google.com
Tue Mar 17 15:51:22 PDT 2015


Author: zturner
Date: Tue Mar 17 17:51:21 2015
New Revision: 232560

URL: http://llvm.org/viewvc/llvm-project?rev=232560&view=rev
Log:
Convert CRLF to LF.

I accidentally let some Windows line endings slip in.  This is a
good reminder for me to use core.eol=lf.

Modified:
    lldb/trunk/unittests/CMakeLists.txt
    lldb/trunk/unittests/Host/CMakeLists.txt
    lldb/trunk/unittests/Interpreter/CMakeLists.txt
    lldb/trunk/unittests/Plugins/CMakeLists.txt
    lldb/trunk/unittests/Plugins/Process/CMakeLists.txt
    lldb/trunk/unittests/Plugins/Process/Linux/CMakeLists.txt
    lldb/trunk/unittests/Utility/CMakeLists.txt
    lldb/trunk/unittests/gtest_common.h

Modified: lldb/trunk/unittests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/CMakeLists.txt (original)
+++ lldb/trunk/unittests/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1,23 +1,23 @@
-add_custom_target(LLDBUnitTests)
-set_target_properties(LLDBUnitTests PROPERTIES FOLDER "LLDB tests")
-
-include_directories(${LLDB_SOURCE_ROOT})
-
-set(LLDB_GTEST_COMMON_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/gtest_common.h)
-if (MSVC)
-  list(APPEND LLVM_COMPILE_FLAGS /FI ${LLDB_GTEST_COMMON_INCLUDE})
-else ()
-  list(APPEND LLVM_COMPILE_FLAGS -include ${LLDB_GTEST_COMMON_INCLUDE})
-endif ()
-
-# add_lldb_unittest(test_dirname file1.cpp file2.cpp)
-#
-# Will compile the list of files together and link against
-function(add_lldb_unittest test_name)
-  add_unittest(LLDBUnitTests ${test_name} ${ARGN})
-endfunction()
-
-add_subdirectory(Host)
-add_subdirectory(Interpreter)
-add_subdirectory(Plugins)
-add_subdirectory(Utility)
+add_custom_target(LLDBUnitTests)
+set_target_properties(LLDBUnitTests PROPERTIES FOLDER "LLDB tests")
+
+include_directories(${LLDB_SOURCE_ROOT})
+
+set(LLDB_GTEST_COMMON_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/gtest_common.h)
+if (MSVC)
+  list(APPEND LLVM_COMPILE_FLAGS /FI ${LLDB_GTEST_COMMON_INCLUDE})
+else ()
+  list(APPEND LLVM_COMPILE_FLAGS -include ${LLDB_GTEST_COMMON_INCLUDE})
+endif ()
+
+# add_lldb_unittest(test_dirname file1.cpp file2.cpp)
+#
+# Will compile the list of files together and link against
+function(add_lldb_unittest test_name)
+  add_unittest(LLDBUnitTests ${test_name} ${ARGN})
+endfunction()
+
+add_subdirectory(Host)
+add_subdirectory(Interpreter)
+add_subdirectory(Plugins)
+add_subdirectory(Utility)

Modified: lldb/trunk/unittests/Host/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Host/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/Host/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Host/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1,10 +1,10 @@
-add_lldb_unittest(HostTests
-  SocketAddressTest.cpp
-  SocketTest.cpp
-  SocketTestMock.cpp
-  )
-
-target_link_libraries(HostTests
-  lldbBase
-  ${PYTHON_LIBRARY}
-  )
+add_lldb_unittest(HostTests
+  SocketAddressTest.cpp
+  SocketTest.cpp
+  SocketTestMock.cpp
+  )
+
+target_link_libraries(HostTests
+  lldbBase
+  ${PYTHON_LIBRARY}
+  )

Modified: lldb/trunk/unittests/Interpreter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Interpreter/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/Interpreter/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Interpreter/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1,8 +1,8 @@
-add_lldb_unittest(InterpreterTests
-  TestArgs.cpp
-  )
-
-target_link_libraries(InterpreterTests
-  lldbInterpreter
-  ${PYTHON_LIBRARY}
-  )
+add_lldb_unittest(InterpreterTests
+  TestArgs.cpp
+  )
+
+target_link_libraries(InterpreterTests
+  lldbInterpreter
+  ${PYTHON_LIBRARY}
+  )

Modified: lldb/trunk/unittests/Plugins/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Plugins/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/Plugins/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Plugins/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1 +1 @@
-add_subdirectory(Process)
+add_subdirectory(Process)

Modified: lldb/trunk/unittests/Plugins/Process/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Plugins/Process/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/Plugins/Process/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Plugins/Process/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1,3 +1,3 @@
-if (CMAKE_SYSTEM_NAME MATCHES "Linux")
-  add_subdirectory(Linux)
-endif()
+if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+  add_subdirectory(Linux)
+endif()

Modified: lldb/trunk/unittests/Plugins/Process/Linux/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Plugins/Process/Linux/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/Plugins/Process/Linux/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Plugins/Process/Linux/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1,9 +1,9 @@
-add_lldb_unittest(ProcessLinuxTests
-  ThreadStateCoordinatorTest.cpp
-  ThreadStateCoordinatorTestMock.cpp
-  )
-
-target_link_libraries(ProcessLinuxTests
-  lldbBase
-  ${PYTHON_LIBRARY}
-  )
+add_lldb_unittest(ProcessLinuxTests
+  ThreadStateCoordinatorTest.cpp
+  ThreadStateCoordinatorTestMock.cpp
+  )
+
+target_link_libraries(ProcessLinuxTests
+  lldbBase
+  ${PYTHON_LIBRARY}
+  )

Modified: lldb/trunk/unittests/Utility/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Utility/CMakeLists.txt?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/Utility/CMakeLists.txt (original)
+++ lldb/trunk/unittests/Utility/CMakeLists.txt Tue Mar 17 17:51:21 2015
@@ -1,9 +1,9 @@
-add_lldb_unittest(UtilityTests
-  StringExtractorTest.cpp
-  UriParserTest.cpp
-  )
-
-target_link_libraries(UtilityTests
-  lldbBase
-  ${PYTHON_LIBRARY}
-  )
+add_lldb_unittest(UtilityTests
+  StringExtractorTest.cpp
+  UriParserTest.cpp
+  )
+
+target_link_libraries(UtilityTests
+  lldbBase
+  ${PYTHON_LIBRARY}
+  )

Modified: lldb/trunk/unittests/gtest_common.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/gtest_common.h?rev=232560&r1=232559&r2=232560&view=diff
==============================================================================
--- lldb/trunk/unittests/gtest_common.h (original)
+++ lldb/trunk/unittests/gtest_common.h Tue Mar 17 17:51:21 2015
@@ -1,32 +1,32 @@
-//===-- gtest_common.h ------------------------------------------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#if defined(LLDB_GTEST_COMMON_H)
-#error "gtest_common.h should not be included manually."
-#else
-#define LLDB_GTEST_COMMON_H
-#endif
-
-// This header file is force included by all of LLDB's unittest compilation
-// units.  Be very leary about putting anything in this file.
-
-#if defined(_MSC_VER) && (_HAS_EXCEPTIONS == 0)
-// MSVC's STL implementation tries to work well with /EHs-c- and
-// _HAS_EXCEPTIONS=0.  But <thread> in particular doesn't work with it, because
-// it relies on <concrt.h> which tries to throw an exception without checking
-// for _HAS_EXCEPTIONS=0.  This causes the linker to require a definition of
-// __uncaught_exception(), but the STL doesn't define this function when
-// _HAS_EXCEPTIONS=0.  The workaround here is to just provide a stub
-// implementation to get it to link.
-inline bool
-__uncaught_exception()
-{
-    return true;
-}
-#endif
+//===-- gtest_common.h ------------------------------------------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#if defined(LLDB_GTEST_COMMON_H)
+#error "gtest_common.h should not be included manually."
+#else
+#define LLDB_GTEST_COMMON_H
+#endif
+
+// This header file is force included by all of LLDB's unittest compilation
+// units.  Be very leary about putting anything in this file.
+
+#if defined(_MSC_VER) && (_HAS_EXCEPTIONS == 0)
+// MSVC's STL implementation tries to work well with /EHs-c- and
+// _HAS_EXCEPTIONS=0.  But <thread> in particular doesn't work with it, because
+// it relies on <concrt.h> which tries to throw an exception without checking
+// for _HAS_EXCEPTIONS=0.  This causes the linker to require a definition of
+// __uncaught_exception(), but the STL doesn't define this function when
+// _HAS_EXCEPTIONS=0.  The workaround here is to just provide a stub
+// implementation to get it to link.
+inline bool
+__uncaught_exception()
+{
+    return true;
+}
+#endif





More information about the lldb-commits mailing list