[CMake] Enable a bunch of Xcode build settings that correspond to warnings that are...
authorTed Kremenek <kremenek@apple.com>
Thu, 13 Mar 2014 06:37:28 +0000 (06:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 13 Mar 2014 06:37:28 +0000 (06:37 +0000)
commitec7eedc5db065b407cfb9945e2970a791a25705f
tree606d00a23892a5338fe5b5fe3d29b9ec4c44e5f5
parent76604af7748badc535017534f5f4c627516fdd7a
[CMake] Enable a bunch of Xcode build settings that correspond to warnings that are for the most part enabled by default either by Clang or -Wall.

I personally build with these settings enabled all the time, and it
is clearer to see the actual warning flags (e.g., -Wuninitialized)
get passed by Xcode rather than seeing -Wno-uninitialized followed
by -Wall (the latter canceling out the former) and figuring out
what is going on.

Xcode will ignore build settings it doesn't understand, so this will
work on possibly older versions of Xcode that don't support all
of these settings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203760 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake