We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a4122 commit 539e076Copy full SHA for 539e076
clang/include/clang/Basic/Linkage.h
@@ -100,6 +100,7 @@ inline bool isExternallyVisible(Linkage L) {
100
case Linkage::External:
101
return true;
102
}
103
+ llvm_unreachable("Unhandled Linkage enum");
104
105
106
inline Linkage getFormalLinkage(Linkage L) {
clang/lib/AST/Decl.cpp
@@ -1934,6 +1934,7 @@ bool NamedDecl::hasLinkage() const {
1934
1935
1936
1937
1938
1939
1940
NamedDecl *NamedDecl::getUnderlyingDeclImpl() {
0 commit comments