Commits

Enrico Granata committed ef9a1b32d4b
<rdar://problem/15213551> This checkin extends the Demangler to allow printing sugar on demangled types Namely, it introduces a DemanglerOptions class with just one field SynthesizeSugarOnTypes which has the same functionality as PrintOptions::SynthesizeSugarOnTypes This changes outputs like _TtGSqC5sugar7MyClass_ ---> swift.Optional<sugar.MyClass> into _TtGSqC5sugar7MyClass_ ---> sugar.MyClass? By default this flag is false, so that existing clients of the Demangler API do not break OTOH, the command-line tool swift-demangle flags sets the flag to true, unless the -no-sugar option is passed on the command-line Test cases included Swift SVN r9502