[clang-tools-extra] r194230 - Silence GCC warning.
Peter Collingbourne
peter at pcc.me.uk
Thu Nov 7 17:08:13 PST 2013
Author: pcc
Date: Thu Nov 7 19:08:12 2013
New Revision: 194230
URL: http://llvm.org/viewvc/llvm-project?rev=194230&view=rev
Log:
Silence GCC warning.
Modified:
clang-tools-extra/trunk/clang-query/QueryParser.cpp
Modified: clang-tools-extra/trunk/clang-query/QueryParser.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/QueryParser.cpp?rev=194230&r1=194229&r2=194230&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/QueryParser.cpp (original)
+++ clang-tools-extra/trunk/clang-query/QueryParser.cpp Thu Nov 7 19:08:12 2013
@@ -159,6 +159,8 @@ QueryRef ParseQuery(StringRef Line) {
case PQK_Invalid:
return new InvalidQuery("unknown command: " + CommandStr);
}
+
+ llvm_unreachable("Invalid query kind");
}
} // namespace query
More information about the cfe-commits
mailing list