[Lldb-commits] [lldb] r106036 - /lldb/trunk/include/lldb/lldb-defines.h

Jason Molenda jmolenda at apple.com
Tue Jun 15 13:04:41 PDT 2010


Author: jmolenda
Date: Tue Jun 15 15:04:41 2010
New Revision: 106036

URL: http://llvm.org/viewvc/llvm-project?rev=106036&view=rev
Log:
It makes me nervous seeing those bitfield shift values without parens.

Modified:
    lldb/trunk/include/lldb/lldb-defines.h

Modified: lldb/trunk/include/lldb/lldb-defines.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-defines.h?rev=106036&r1=106035&r2=106036&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-defines.h (original)
+++ lldb/trunk/include/lldb/lldb-defines.h Tue Jun 15 15:04:41 2010
@@ -76,15 +76,15 @@
 // FIXME: I'm sure there's some #define magic that can create all 32 sets on the
 // fly.  That would have the added benefit of making this unreadable.
 #define LLDB_MAX_NUM_OPTION_SETS        32
-#define LLDB_OPT_SET_ALL            0xFFFFFFFF
-#define LLDB_OPT_SET_1                1 << 0
-#define LLDB_OPT_SET_2                1 << 1
-#define LLDB_OPT_SET_3                1 << 2
-#define LLDB_OPT_SET_4                1 << 3
-#define LLDB_OPT_SET_5                1 << 4
-#define LLDB_OPT_SET_6                1 << 5
-#define LLDB_OPT_SET_7                1 << 6
-#define LLDB_OPT_SET_8                1 << 7
+#define LLDB_OPT_SET_ALL                0xFFFFFFFF
+#define LLDB_OPT_SET_1                  (1 << 0)
+#define LLDB_OPT_SET_2                  (1 << 1)
+#define LLDB_OPT_SET_3                  (1 << 2)
+#define LLDB_OPT_SET_4                  (1 << 3)
+#define LLDB_OPT_SET_5                  (1 << 4)
+#define LLDB_OPT_SET_6                  (1 << 5)
+#define LLDB_OPT_SET_7                  (1 << 6)
+#define LLDB_OPT_SET_8                  (1 << 7)
 
 #if defined(__cplusplus)
 





More information about the lldb-commits mailing list