projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5e937
)
Fix "not all control paths return a value" warning. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 27 Jan 2021 10:14:54 +0000
(10:14 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 27 Jan 2021 10:15:21 +0000
(10:15 +0000)
clang/lib/Basic/ProfileList.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/ProfileList.cpp
b/clang/lib/Basic/ProfileList.cpp
index
56bc37a
..
2cb05c1
100644
(file)
--- a/
clang/lib/Basic/ProfileList.cpp
+++ b/
clang/lib/Basic/ProfileList.cpp
@@
-82,6
+82,7
@@
static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) {
case CodeGenOptions::ProfileCSIRInstr:
return "csllvm";
}
+ llvm_unreachable("Unhandled CodeGenOptions::ProfileInstrKind enum");
}
llvm::Optional<bool>