mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] explicit PrintOptions default constructor (#18142)
For use in LLDB.
This commit is contained in:
committed by
Jordan Rose
parent
2e12d6becd
commit
c0114eaed4
@@ -363,6 +363,9 @@ struct PrintOptions {
|
||||
|
||||
BracketOptions BracketOptions;
|
||||
|
||||
// This is explicit to guarantee that it can be called from LLDB.
|
||||
PrintOptions() {}
|
||||
|
||||
bool excludeAttrKind(AnyAttrKind K) const {
|
||||
if (std::any_of(ExcludeAttrList.begin(), ExcludeAttrList.end(),
|
||||
[K](AnyAttrKind other) { return other == K; }))
|
||||
|
||||
Reference in New Issue
Block a user