llvm.org GIT mirror llvm / 7852f77
Fix -Wcovered-switch-default warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348486 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 8 months ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
332332 C.num_sharing = static_cast(B.count());
333333 C.level = Cache->Level;
334334 C.size = Cache->Size;
335 C.type = "Unknown";
335336 switch (Cache->Type) {
336337 case CacheUnified:
337338 C.type = "Unified";
344345 break;
345346 case CacheTrace:
346347 C.type = "Trace";
347 break;
348 default:
349 C.type = "Unknown";
350348 break;
351349 }
352350 res.push_back(C);