summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatEntity.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-11-07 23:32:20 +0000
committerEnrico Granata <egranata@apple.com>2016-11-07 23:32:20 +0000
commit65d86e4fa5dd383dfebe2fc11c4cdf404c8914d2 (patch)
treee94b88c22e73c5a3ca8ddeb1977a6940eb599378 /lldb/source/Core/FormatEntity.cpp
parent583a307e1744278d95ca83a13d7b40eac2b3c2c1 (diff)
downloadbcm5719-llvm-65d86e4fa5dd383dfebe2fc11c4cdf404c8914d2.tar.gz
bcm5719-llvm-65d86e4fa5dd383dfebe2fc11c4cdf404c8914d2.zip
Simplify the PrintableRepresentationSpecialCases code; we never used the ePrintableRepresentationSpecialCasesOnly value and with enum classes the names doesn't need to be that long
llvm-svn: 286176
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
-rw-r--r--lldb/source/Core/FormatEntity.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index f5eb4d497c2..f252ff55211 100644
--- a/lldb/source/Core/FormatEntity.cpp
+++ b/lldb/source/Core/FormatEntity.cpp
@@ -874,7 +874,7 @@ static bool DumpValue(Stream &s, const SymbolContext *sc,
{
target->DumpPrintableRepresentation(
s, val_obj_display, custom_format,
- ValueObject::ePrintableRepresentationSpecialCasesDisable);
+ ValueObject::PrintableRepresentationSpecialCases::eDisable);
}
return true;
}
@@ -1676,8 +1676,7 @@ bool FormatEntity::Format(const Entry &entry, Stream &s,
ss, ValueObject::ValueObjectRepresentationStyle::
eValueObjectRepresentationStyleSummary,
eFormatDefault,
- ValueObject::PrintableRepresentationSpecialCases::
- ePrintableRepresentationSpecialCasesAllow,
+ ValueObject::PrintableRepresentationSpecialCases::eAllow,
false);
}
OpenPOWER on IntegriCloud