File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ using namespace constraints;
34
34
35
35
ConstraintFix::~ConstraintFix () {}
36
36
37
- TypedNode ConstraintFix::getAnchor () const { return getLocator ()->getAnchor (); }
37
+ ASTNode ConstraintFix::getAnchor () const { return getLocator ()->getAnchor (); }
38
38
39
39
void ConstraintFix::print (llvm::raw_ostream &Out) const {
40
40
Out << " [fix: " ;
Original file line number Diff line number Diff line change 18
18
#define SWIFT_SEMA_CSFIX_H
19
19
20
20
#include " ConstraintLocator.h"
21
+ #include " swift/AST/ASTNode.h"
21
22
#include " swift/AST/Decl.h"
22
23
#include " swift/AST/Expr.h"
23
24
#include " swift/AST/Identifier.h"
@@ -313,7 +314,7 @@ class ConstraintFix {
313
314
// / Retrieve anchor expression associated with this fix.
314
315
// / NOTE: such anchor comes directly from locator without
315
316
// / any simplication attempts.
316
- TypedNode getAnchor () const ;
317
+ ASTNode getAnchor () const ;
317
318
ConstraintLocator *getLocator () const { return Locator; }
318
319
319
320
protected:
You can’t perform that action at this time.
0 commit comments