forked from OSchip/llvm-project
Fix MSVC "not all control paths return a value" warning. NFC.
Add llvm_unreachable after switch statement for TestLanguage enum
This commit is contained in:
parent
ecd682bbf5
commit
a30b5c5a51
|
@ -64,6 +64,7 @@ StringRef getFilenameForTesting(TestLanguage Lang) {
|
|||
case Lang_OBJCXX:
|
||||
return "input.mm";
|
||||
}
|
||||
llvm_unreachable("Unhandled TestLanguage enum");
|
||||
}
|
||||
|
||||
} // end namespace clang
|
||||
|
|
Loading…
Reference in New Issue