forked from OSchip/llvm-project
Added "-Wparentheses" so we catch possible errors like:
if (a = 0) instead of: if (a == 0) Thanks to Jean-Daniel Dupas. llvm-svn: 107672
This commit is contained in:
parent
a08073565a
commit
388e3b0fa9
|
@ -2759,6 +2759,7 @@
|
|||
OTHER_CFLAGS = (
|
||||
"-DFOR_DYLD=0",
|
||||
"-DSUPPORT_REMOTE_UNWINDING",
|
||||
"-Wparentheses",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"-fno-rtti",
|
||||
|
@ -2811,6 +2812,7 @@
|
|||
OTHER_CFLAGS = (
|
||||
"-DFOR_DYLD=0",
|
||||
"-DSUPPORT_REMOTE_UNWINDING",
|
||||
"-Wparentheses",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"-fno-rtti",
|
||||
|
@ -2871,6 +2873,7 @@
|
|||
INFOPLIST_FILE = "lldb-Info.plist";
|
||||
INSTALL_PATH = /Developer/usr/bin;
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
OTHER_CFLAGS = "-Wparentheses";
|
||||
OTHER_LDFLAGS = (
|
||||
"-sectcreate",
|
||||
__TEXT,
|
||||
|
@ -2918,6 +2921,7 @@
|
|||
OTHER_CFLAGS = (
|
||||
"-DFOR_DYLD=0",
|
||||
"-DSUPPORT_REMOTE_UNWINDING",
|
||||
"-Wparentheses",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"-fno-rtti",
|
||||
|
@ -2959,6 +2963,7 @@
|
|||
INSTALL_PATH = /Developer/usr/bin;
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "-Wparentheses";
|
||||
OTHER_LDFLAGS = (
|
||||
"-sectcreate",
|
||||
__TEXT,
|
||||
|
@ -2996,6 +3001,7 @@
|
|||
INFOPLIST_FILE = "lldb-Info.plist";
|
||||
INSTALL_PATH = /Developer/usr/bin;
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
OTHER_CFLAGS = "-Wparentheses";
|
||||
OTHER_LDFLAGS = (
|
||||
"-sectcreate",
|
||||
__TEXT,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue