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:
b03f7c3
)
Silence a "not all control paths return" MSVC warning; NFC
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 3 Nov 2022 14:14:30 +0000
(10:14 -0400)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 3 Nov 2022 14:27:16 +0000
(10:27 -0400)
clang/lib/AST/Interp/Descriptor.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/Interp/Descriptor.cpp
b/clang/lib/AST/Interp/Descriptor.cpp
index
55182ec
..
f645063
100644
(file)
--- a/
clang/lib/AST/Interp/Descriptor.cpp
+++ b/
clang/lib/AST/Interp/Descriptor.cpp
@@
-184,6
+184,7
@@
static BlockCtorFn getCtorArrayPrim(PrimType Type) {
static BlockDtorFn getDtorArrayPrim(PrimType Type) {
TYPE_SWITCH(Type, return dtorArrayTy<T>);
+ llvm_unreachable("unknown Expr");
}
static BlockMoveFn getMoveArrayPrim(PrimType Type) {