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:
1ab7d43
)
Revert rG7275de7fb2f087871611d037d1b529b226dd0521 "[AArch64] translateLocChar - silen...
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sun, 6 Feb 2022 17:19:23 +0000
(17:19 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sun, 6 Feb 2022 17:19:23 +0000
(17:19 +0000)
Seems to cause some buildbot misbehaviour (+ there's a dumb copy+paste typo in the commit message....)
llvm/lib/Support/FormatVariadic.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/FormatVariadic.cpp
b/llvm/lib/Support/FormatVariadic.cpp
index
46573e7
..
f6d48bc
100644
(file)
--- a/
llvm/lib/Support/FormatVariadic.cpp
+++ b/
llvm/lib/Support/FormatVariadic.cpp
@@
-18,8
+18,10
@@
static Optional<AlignStyle> translateLocChar(char C) {
return AlignStyle::Center;
case '+':
return AlignStyle::Right;
+ default:
+ return None;
}
-
return None
;
+
LLVM_BUILTIN_UNREACHABLE
;
}
bool formatv_object_base::consumeFieldLayout(StringRef &Spec, AlignStyle &Where,