r311249 - [clang-diff] Fix compiler warning
Johannes Altmanninger via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 19 10:12:26 PDT 2017
Author: krobelus
Date: Sat Aug 19 10:12:25 2017
New Revision: 311249
URL: http://llvm.org/viewvc/llvm-project?rev=311249&view=rev
Log:
[clang-diff] Fix compiler warning
Modified:
cfe/trunk/tools/clang-diff/ClangDiff.cpp
Modified: cfe/trunk/tools/clang-diff/ClangDiff.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-diff/ClangDiff.cpp?rev=311249&r1=311248&r2=311249&view=diff
==============================================================================
--- cfe/trunk/tools/clang-diff/ClangDiff.cpp (original)
+++ cfe/trunk/tools/clang-diff/ClangDiff.cpp Sat Aug 19 10:12:25 2017
@@ -209,6 +209,7 @@ static std::string getChangeKindAbbr(dif
case diff::UpdateMove:
return "u m";
}
+ llvm_unreachable("Invalid enumeration value.");
}
static unsigned printHtmlForNode(raw_ostream &OS, const diff::ASTDiff &Diff,
More information about the cfe-commits
mailing list