summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-07-06 16:16:14 +0000
committerGreg Clayton <gclayton@apple.com>2010-07-06 16:16:14 +0000
commit388e3b0fa931036023d3e08b5453a6dd479d1ff6 (patch)
tree29508a2e5963d1bd92586ee8f1440d56f8c52d93 /lldb/tools/debugserver
parenta08073565a783374d1426f6966429e9015c3eb4f (diff)
downloadbcm5719-llvm-388e3b0fa931036023d3e08b5453a6dd479d1ff6.tar.gz
bcm5719-llvm-388e3b0fa931036023d3e08b5453a6dd479d1ff6.zip
Added "-Wparentheses" so we catch possible errors like:
if (a = 0) instead of: if (a == 0) Thanks to Jean-Daniel Dupas. llvm-svn: 107672
Diffstat (limited to 'lldb/tools/debugserver')
-rw-r--r--lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj b/lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
index 14f84acc9f9..0bb7587f847 100644
--- a/lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
+++ b/lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
@@ -501,6 +501,7 @@
GCC_PREPROCESSOR_DEFINITIONS = LLDB_DEBUGSERVER;
INSTALL_PATH = /Developer/usr/bin;
LLDB_DEBUGSERVER = 1;
+ OTHER_CFLAGS = "-Wparentheses";
OTHER_LDFLAGS = (
"-sectcreate",
__TEXT,
@@ -532,6 +533,7 @@
GCC_PREPROCESSOR_DEFINITIONS = LLDB_DEBUGSERVER;
INSTALL_PATH = /Developer/usr/bin;
LLDB_DEBUGSERVER = 1;
+ OTHER_CFLAGS = "-Wparentheses";
OTHER_LDFLAGS = (
"-sectcreate",
__TEXT,
@@ -561,6 +563,7 @@
GCC_PREPROCESSOR_DEFINITIONS = LLDB_DEBUGSERVER;
INSTALL_PATH = /Developer/usr/bin;
LLDB_DEBUGSERVER = 1;
+ OTHER_CFLAGS = "-Wparentheses";
OTHER_LDFLAGS = (
"-sectcreate",
__TEXT,
OpenPOWER on IntegriCloud