forked from OSchip/llvm-project
Fix -Wcovered-switch-default warning. NFCI.
llvm-svn: 348486
This commit is contained in:
parent
26f01c46e9
commit
948ce4e6ed
|
@ -333,6 +333,7 @@ std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() {
|
|||
C.num_sharing = static_cast<int>(B.count());
|
||||
C.level = Cache->Level;
|
||||
C.size = Cache->Size;
|
||||
C.type = "Unknown";
|
||||
switch (Cache->Type) {
|
||||
case CacheUnified:
|
||||
C.type = "Unified";
|
||||
|
@ -346,9 +347,6 @@ std::vector<CPUInfo::CacheInfo> GetCacheSizesWindows() {
|
|||
case CacheTrace:
|
||||
C.type = "Trace";
|
||||
break;
|
||||
default:
|
||||
C.type = "Unknown";
|
||||
break;
|
||||
}
|
||||
res.push_back(C);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue