[Lldb-commits] [lldb] r182545 - GCC gets confused by enums in bitfields, so I
Sean Callanan
scallanan at apple.com
Wed May 22 18:53:54 PDT 2013
Author: spyffe
Date: Wed May 22 20:53:54 2013
New Revision: 182545
URL: http://llvm.org/viewvc/llvm-project?rev=182545&view=rev
Log:
GCC gets confused by enums in bitfields, so I
removed the bitfields. This should be conforming
C++11, though, cf. C++03 9.6(3):
"
A bit-field shall have integral or enumeration
type (3.9.1).
"
Modified:
lldb/trunk/include/lldb/Expression/IRMemoryMap.h
Modified: lldb/trunk/include/lldb/Expression/IRMemoryMap.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/IRMemoryMap.h?rev=182545&r1=182544&r2=182545&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/IRMemoryMap.h (original)
+++ lldb/trunk/include/lldb/Expression/IRMemoryMap.h Wed May 22 20:53:54 2013
@@ -87,8 +87,8 @@ private:
DataBufferHeap m_data;
///< Flags
- AllocationPolicy m_policy : 2;
- bool m_leak : 1;
+ AllocationPolicy m_policy;
+ bool m_leak;
public:
Allocation (lldb::addr_t process_alloc,
lldb::addr_t process_start,
More information about the lldb-commits
mailing list