summaryrefslogtreecommitdiff
path: root/lldb/source/Core/Value.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-12-07 20:51:09 +0000
committerDaniel Malea <daniel.malea@intel.com>2012-12-07 20:51:09 +0000
commit89660bf7959ea4d2aeab12e934c60fc0cc18e2ec (patch)
tree3b37f1cb961ac1cb59d265b94e9ba1bf80f2d6eb /lldb/source/Core/Value.cpp
parent4ec32d3d90a725234f6ea5b426673cd1a8f69971 (diff)
More Linux warnings fixes (remove default labels as needed):
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations Patch by Matt Kopec! llvm-svn: 169633
Diffstat (limited to 'lldb/source/Core/Value.cpp')
-rw-r--r--lldb/source/Core/Value.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Core/Value.cpp b/lldb/source/Core/Value.cpp
index 9a0f686164ec..cebd380f181e 100644
--- a/lldb/source/Core/Value.cpp
+++ b/lldb/source/Core/Value.cpp
@@ -156,7 +156,6 @@ Value::ValueOf(ExecutionContext *exe_ctx, clang::ASTContext *ast_context)
{
switch (m_context_type)
{
- default:
case eContextTypeInvalid:
case eContextTypeClangType: // clang::Type *
case eContextTypeRegisterInfo: // RegisterInfo *
@@ -177,7 +176,6 @@ Value::GetValueByteSize (clang::ASTContext *ast_context, Error *error_ptr)
switch (m_context_type)
{
- default:
case eContextTypeInvalid:
// If we have no context, there is no way to know how much memory to read
if (error_ptr)
@@ -244,7 +242,6 @@ Value::GetClangType ()
{
switch (m_context_type)
{
- default:
case eContextTypeInvalid:
break;
@@ -273,7 +270,6 @@ Value::GetValueDefaultFormat ()
{
switch (m_context_type)
{
- default:
case eContextTypeInvalid:
break;