Author: brucem Date: Tue Sep 22 21:33:30 2015 New Revision: 248365 URL: http://llvm.org/viewvc/llvm-project?rev=248365&view=rev Log: 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 Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=248365&r1=248364&r2=248365&view=diff ============================================================================== --- lldb/trunk/source/DataFormatters/FormatManager.cpp (original) +++ lldb/trunk/source/DataFormatters/FormatManager.cpp Tue Sep 22 21:33:30 2015 @@ -570,7 +570,6 @@ FormatManager::ShouldPrintAsOneLiner (Va case eLazyBoolYes: return true; case eLazyBoolCalculate: - default: break; } } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits