Skip to content

Commit d04fee6

Browse files
RKSimongithub-actions[bot]
authored andcommitted
Automerge: Fix MSVC "not all control paths return a value" warning. NFC.
2 parents b6b7db5 + 4fa2c62 commit d04fee6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CodeGen/CGClass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2805,6 +2805,7 @@ SanitizerInfoFromCFICheckKind(CodeGenFunction::CFITypeCheckKind TCK) {
28052805
case CodeGenFunction::CFITCK_VMFCall:
28062806
llvm_unreachable("unexpected sanitizer kind");
28072807
}
2808+
llvm_unreachable("Unknown CFITypeCheckKind enum");
28082809
}
28092810

28102811
void CodeGenFunction::EmitVTablePtrCheckForCall(const CXXRecordDecl *RD,

0 commit comments

Comments
 (0)