diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-23 02:33:30 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-23 02:33:30 +0000 |
commit | 77b94d4416cb24ea70693dfed7f8e54901ab9854 (patch) | |
tree | 594dfb7a0c5019a68195e7276f214356edd0359f /lldb/source/DataFormatters/FormatManager.cpp | |
parent | 7fa48ab6ce13becc010e80250c96c7f1b272ca3a (diff) | |
download | bcm5719-llvm-77b94d4416cb24ea70693dfed7f8e54901ab9854.tar.gz bcm5719-llvm-77b94d4416cb24ea70693dfed7f8e54901ab9854.zip |
Fix covered-switch-default warning in FormatManager.
Summary:
The default case doesn't need to be here as the switch covers
all possible values. If there's a new "lazy bool" value added
in the future, the compiler would start to warn about the new
case not being covered.
Reviewers: granata.enrico, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13084
llvm-svn: 248365
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp index 03368f2acd9..4941633781f 100644 --- a/lldb/source/DataFormatters/FormatManager.cpp +++ b/lldb/source/DataFormatters/FormatManager.cpp @@ -570,7 +570,6 @@ FormatManager::ShouldPrintAsOneLiner (ValueObject& valobj) case eLazyBoolYes: return true; case eLazyBoolCalculate: - default: break; } } |