commit | 4fa2c62e324afacf2788e60cc34bcfe7ee62d06d | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue May 20 13:44:11 2025 +0100 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue May 20 14:18:56 2025 +0100 |
tree | 17ce4f2984ffaad6cc0d1177f42d1b874831230e | |
parent | cf1f116f7832908ed8eb91e02403055e9ef555ee [diff] |
Fix MSVC "not all control paths return a value" warning. NFC.
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 652622a..6beb2bc 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp
@@ -2805,6 +2805,7 @@ case CodeGenFunction::CFITCK_VMFCall: llvm_unreachable("unexpected sanitizer kind"); } + llvm_unreachable("Unknown CFITypeCheckKind enum"); } void CodeGenFunction::EmitVTablePtrCheckForCall(const CXXRecordDecl *RD,