Skip to content

Commit

Permalink
Fix MSVC "not all control paths return a value" warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Jan 23, 2023
1 parent 6dc8e21 commit 7ac7763
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Basic/Builtins.cpp
Expand Up @@ -26,6 +26,7 @@ const char *HeaderDesc::getName() const {
#include "clang/Basic/BuiltinHeaders.def"
#undef HEADER
};
llvm_unreachable("Unknown HeaderDesc::HeaderID enum");
}

static constexpr Builtin::Info BuiltinInfo[] = {
Expand Down

0 comments on commit 7ac7763

Please sign in to comment.