From 411b3e22d47e5292e3ed4dc96405d2b5f966c9b0 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 19 Aug 2017 17:12:25 +0000 Subject: [PATCH] [clang-diff] Fix compiler warning git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311249 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/clang-diff/ClangDiff.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/clang-diff/ClangDiff.cpp b/tools/clang-diff/ClangDiff.cpp index c38b2062be..7d6d9c8196 100644 --- a/tools/clang-diff/ClangDiff.cpp +++ b/tools/clang-diff/ClangDiff.cpp @@ -209,6 +209,7 @@ static std::string getChangeKindAbbr(diff::ChangeKind Kind) { case diff::UpdateMove: return "u m"; } + llvm_unreachable("Invalid enumeration value."); } static unsigned printHtmlForNode(raw_ostream &OS, const diff::ASTDiff &Diff, -- 2.40.0