mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST printing: make PrintDefaultParameterPlaceholder the default (since we are
not going to implement expression printing any time soon), and fix a bug in its implementation: when used with deserialized modules, "= default" was not printed. Swift SVN r15798
This commit is contained in:
@@ -34,6 +34,8 @@ void swift::ide::printSubmoduleInterface(Module *M,
|
||||
AdjustedOptions.ExplodePatternBindingDecls = true;
|
||||
AdjustedOptions.VarInitializers = false;
|
||||
|
||||
AdjustedOptions.PrintDefaultParameterPlaceholder = true;
|
||||
|
||||
SmallVector<Decl *, 1> Decls;
|
||||
M->getDisplayDecls(Decls);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user