[Lldb-commits] [PATCH] D18519: Allow building LLDB on Windows with MinGW 64/4.9.2 and later

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 2 20:37:15 PDT 2016


zturner resigned from this revision.
zturner removed a reviewer: zturner.

================
Comment at: cmake/modules/LLDBConfig.cmake:225-235
@@ -224,3 +224,4 @@
+if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
 check_cxx_compiler_flag("-Wno-deprecated-register"
                         CXX_SUPPORTS_NO_DEPRECATED_REGISTER)
 if (CXX_SUPPORTS_NO_DEPRECATED_REGISTER)

@@ -232,3 +233,4 @@
 if (CXX_SUPPORTS_NO_VLA_EXTENSION)
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-vla-extension")
 endif ()
+endif()
----------------
All of this needs to be indented 2 spaces.  CMake code is just like regular C++ code where everything inside of a conditional has to be indented.  For CMake we use 2 spaces.


http://reviews.llvm.org/D18519





More information about the lldb-commits mailing list