[PATCH] D58333: [libcxxabi][CMake] Drop unused HandleOutOfTreeLLVM include

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 18 12:57:41 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL354284: [libcxxabi][CMake] Drop unused HandleOutOfTreeLLVM include (authored by phosek, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D58333?vs=187178&id=187270#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58333/new/

https://reviews.llvm.org/D58333

Files:
  libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake


Index: libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake
===================================================================
--- libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake
+++ libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake
@@ -93,10 +93,7 @@
     endif()
   endif()
   if (LLVM_FOUND)
-    # Enable warnings, otherwise -w gets added to the cflags by HandleLLVMOptions.
-    set(LLVM_ENABLE_WARNINGS ON)
     include(AddLLVM OPTIONAL)
-    include(HandleLLVMOptions OPTIONAL)
   endif()
 
   # LLVM Options --------------------------------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58333.187270.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190218/5ccd88bd/attachment.bin>


More information about the llvm-commits mailing list