Disable warnings in LLDBWrapPython.cpp with -Werror.
authorZachary Turner <zturner@google.com>
Wed, 5 Oct 2016 17:07:16 +0000 (17:07 +0000)
committerZachary Turner <zturner@google.com>
Wed, 5 Oct 2016 17:07:16 +0000 (17:07 +0000)
commitd6ef28462bd17c39edef192a1298060910b0e15b
tree5fff452a73d463b459accaa7d0a830e8ced85adb
parentaad15838770cb1f7d40365a8e1cf0643f7e27b2f
Disable warnings in LLDBWrapPython.cpp with -Werror.

When -Werror is used, we don't have control over the generated
code from SWIG, and it often has warnings.  Just disable them for
this file when -Werror is used, they are usually not important
anyway.

Differential revision: https://reviews.llvm.org/D25246

llvm-svn: 283343
lldb/source/API/CMakeLists.txt