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
This commit is contained in:
Daniel Malea
2012-12-07 20:51:09 +00:00
parent 4ec32d3d90
commit 89660bf795
31 changed files with 0 additions and 162 deletions

View File

@@ -420,9 +420,6 @@ ValueObject::GetLocationAsCString ()
switch (m_value.GetValueType())
{
default:
break;
case Value::eValueTypeScalar:
case Value::eValueTypeVector:
if (m_value.GetContextType() == Value::eContextTypeRegisterInfo)
@@ -926,7 +923,6 @@ ValueObject::GetPointeeData (DataExtractor& data,
}
break;
case eAddressTypeInvalid:
default:
break;
}
}
@@ -1524,9 +1520,6 @@ ValueObject::DumpPrintableRepresentation(Stream& s,
case eValueObjectRepresentationStyleType:
return_value = GetTypeName().AsCString();
break;
default:
break;
}
if (!return_value)
@@ -3674,7 +3667,6 @@ ValueObject::AddressOf (Error &error)
{
switch (address_type)
{
default:
case eAddressTypeInvalid:
{
StreamString expr_path_strm;