We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76c9585 + 5be3ef6 commit c2716e4Copy full SHA for c2716e4
include/swift/AST/ASTNode.h
@@ -50,6 +50,15 @@ namespace swift {
50
// Inherit the constructors from PointerUnion.
51
using PointerUnion::PointerUnion;
52
53
+ // These are needed for lldb.
54
+ ASTNode(Expr *E) : PointerUnion(E) {}
55
+ ASTNode(Stmt *S) : PointerUnion(S) {}
56
+ ASTNode(Decl *D) : PointerUnion(D) {}
57
+ ASTNode(Pattern *P) : PointerUnion(P) {}
58
+ ASTNode(TypeRepr *T) : PointerUnion(T) {}
59
+ ASTNode(StmtConditionElement *S) : PointerUnion(S) {}
60
+ ASTNode(CaseLabelItem *C) : PointerUnion(C) {}
61
+
62
SourceRange getSourceRange() const;
63
64
/// Return the location of the start of the statement.
0 commit comments