Skip to content

Commit 6219e4e

Browse files
committed
[PrintOptions] Enable EnumRawValueMode::PrintObjCOnly for when generating interfaces for user consumption and for doc-support
rdar://17934156
1 parent d5c28d8 commit 6219e4e

File tree

3 files changed

+2142
-2056
lines changed

3 files changed

+2142
-2056
lines changed

include/swift/AST/PrintOptions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ struct PrintOptions {
487487
QualifyNestedDeclarations::Always;
488488
result.PrintDocumentationComments = true;
489489
result.SkipUnderscoredKeywords = true;
490+
result.EnumRawValues = EnumRawValueMode::PrintObjCOnly;
490491
return result;
491492
}
492493

0 commit comments

Comments
 (0)