summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Symbol/UnwindPlan.h2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Symbol/UnwindPlan.h b/lldb/include/lldb/Symbol/UnwindPlan.h
index c75027dcc82..49356cd1e23 100644
--- a/lldb/include/lldb/Symbol/UnwindPlan.h
+++ b/lldb/include/lldb/Symbol/UnwindPlan.h
@@ -44,7 +44,7 @@ public:
{
public:
- typedef enum RestoreType
+ enum RestoreType
{
unspecified, // not specified, we may be able to assume this
// is the same register. gcc doesn't specify all
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
index 5ad9273d1ba..3f77b0b71e5 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
@@ -119,7 +119,7 @@ DWARFDebugInfoEntry::FastExtract
if (abbrCode)
{
- register uint32_t offset = *offset_ptr;
+ uint32_t offset = *offset_ptr;
m_abbrevDecl = cu->GetAbbreviations()->GetAbbreviationDeclaration(abbrCode);
OpenPOWER on IntegriCloud