Skip to content

Commit bd04ac0

Browse files
committed
Fix "default label in switch which covers all enumeration values" warning; NFC
Amends a972a39
1 parent 861a8ed commit bd04ac0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/tools/libclang/CIndex.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8969,8 +8969,6 @@ enum CX_BinaryOperatorKind clang_Cursor_getBinaryOpcode(CXCursor C) {
89698969
const Expr *D = getCursorExpr(C);
89708970
if (const auto *BinOp = dyn_cast<BinaryOperator>(D)) {
89718971
switch (BinOp->getOpcode()) {
8972-
default:
8973-
return CX_BO_Invalid;
89748972
#define BINARY_OPERATION(Name, Spelling) \
89758973
case BO_##Name: \
89768974
return CX_BO_##Name;

0 commit comments

Comments
 (0)