mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
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
This commit is contained in:
@@ -570,7 +570,6 @@ FormatManager::ShouldPrintAsOneLiner (ValueObject& valobj)
|
||||
case eLazyBoolYes:
|
||||
return true;
|
||||
case eLazyBoolCalculate:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user