r322549 - Squash -Wcovered-switch-default wairning
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 16 04:54:28 PST 2018
Author: sammccall
Date: Tue Jan 16 04:54:28 2018
New Revision: 322549
URL: http://llvm.org/viewvc/llvm-project?rev=322549&view=rev
Log:
Squash -Wcovered-switch-default wairning
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=322549&r1=322548&r2=322549&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Tue Jan 16 04:54:28 2018
@@ -729,8 +729,7 @@ static CXString CursorToText(CXCursor Cu
return clang_getCursorSpelling(Cursor);
case DisplayType_DisplayName:
return clang_getCursorDisplayName(Cursor);
- case DisplayType_Pretty:
- default: {
+ case DisplayType_Pretty: {
CXString text;
CXPrintingPolicy Policy = clang_getCursorPrintingPolicy(Cursor);
ModifyPrintingPolicyAccordingToEnv(Policy);
More information about the cfe-commits
mailing list