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);
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits