Skip to content

Commit da83b86

Browse files
committed
Fix "not all control paths return a value" warning. NFCI.
1 parent fd5e937 commit da83b86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Basic/ProfileList.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) {
8282
case CodeGenOptions::ProfileCSIRInstr:
8383
return "csllvm";
8484
}
85+
llvm_unreachable("Unhandled CodeGenOptions::ProfileInstrKind enum");
8586
}
8687

8788
llvm::Optional<bool>

0 commit comments

Comments
 (0)