Squash -Wcovered-switch-default wairning

llvm-svn: 322549
This commit is contained in:
Sam McCall 2018-01-16 12:54:28 +00:00
parent 091b1efafb
commit 63903569eb
1 changed files with 1 additions and 2 deletions

View File

@ -729,8 +729,7 @@ static CXString CursorToText(CXCursor Cursor) {
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);