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:
Simon Pilgrim 2020-06-05 10:41:31 +01:00
parent ecd682bbf5
commit a30b5c5a51
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ StringRef getFilenameForTesting(TestLanguage Lang) {
case Lang_OBJCXX:
return "input.mm";
}
llvm_unreachable("Unhandled TestLanguage enum");
}
} // end namespace clang