forked from OSchip/llvm-project
Fix "not all control paths return a value" warning. NFCI.
This commit is contained in:
parent
fd5e937681
commit
da83b869ab
|
@ -82,6 +82,7 @@ static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) {
|
|||
case CodeGenOptions::ProfileCSIRInstr:
|
||||
return "csllvm";
|
||||
}
|
||||
llvm_unreachable("Unhandled CodeGenOptions::ProfileInstrKind enum");
|
||||
}
|
||||
|
||||
llvm::Optional<bool>
|
||||
|
|
Loading…
Reference in New Issue