Skip to content

Commit c0114ea

Browse files
omochijrose-apple
authored andcommitted
[AST] explicit PrintOptions default constructor (swiftlang#18142)
For use in LLDB.
1 parent 2e12d6b commit c0114ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/swift/AST/PrintOptions.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ struct PrintOptions {
363363

364364
BracketOptions BracketOptions;
365365

366+
// This is explicit to guarantee that it can be called from LLDB.
367+
PrintOptions() {}
368+
366369
bool excludeAttrKind(AnyAttrKind K) const {
367370
if (std::any_of(ExcludeAttrList.begin(), ExcludeAttrList.end(),
368371
[K](AnyAttrKind other) { return other == K; }))

0 commit comments

Comments
 (0)