]> granicus.if.org Git - clang/commitdiff
[clang-diff] Fix compiler warning
authorJohannes Altmanninger <aclopte@gmail.com>
Sat, 19 Aug 2017 17:12:25 +0000 (17:12 +0000)
committerJohannes Altmanninger <aclopte@gmail.com>
Sat, 19 Aug 2017 17:12:25 +0000 (17:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311249 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-diff/ClangDiff.cpp

index c38b2062bea9f0eb91487e7b7f7b883be186bcd2..7d6d9c8196644104a380b9cd0a8f0e20b0baaa54 100644 (file)
@@ -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,