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:
993060e
)
Fix "not all control paths return a value" MSVC warning. NFC.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 30 May 2023 09:29:47 +0000
(10:29 +0100)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 30 May 2023 09:33:31 +0000
(10:33 +0100)
clang/lib/AST/Decl.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/Decl.cpp
b/clang/lib/AST/Decl.cpp
index e441c338a2c766b0ba428409b17234d0f88549fc..99926b2786ef2b2336de470dc2b7d399e1bf5e01 100644
(file)
--- a/
clang/lib/AST/Decl.cpp
+++ b/
clang/lib/AST/Decl.cpp
@@
-3331,6
+3331,7
@@
bool FunctionDecl::isInlineBuiltinDeclaration() const {
case GVA_StrongExternal:
return true;
}
+ llvm_unreachable("Unknown GVALinkage");
}
bool FunctionDecl::isDestroyingOperatorDelete() const {