Skip to content

Commit a73aa72

Browse files
[Analysis] Fix a warning
This patch fixes: llvm/lib/Analysis/IR2Vec.cpp:280:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
1 parent 455105f commit a73aa72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Analysis/IR2Vec.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ StringRef Vocabulary::getVocabKeyForTypeID(Type::TypeID TypeID) {
277277
return "MetadataTy";
278278
case Type::X86_AMXTyID:
279279
case Type::TargetExtTyID:
280-
default:
281280
return "UnknownTy";
282281
}
283282
}

0 commit comments

Comments
 (0)