File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -313,12 +313,6 @@ struct LayoutConstraintLoc {
313
313
314
314
bool isError () const ;
315
315
316
- // FIXME: We generally shouldn't need to build LayoutConstraintLoc without
317
- // a location.
318
- static LayoutConstraintLoc withoutLoc (LayoutConstraint Layout) {
319
- return LayoutConstraintLoc (Layout, SourceLoc ());
320
- }
321
-
322
316
// / Get the representative location of this type, for diagnostic
323
317
// / purposes.
324
318
SourceLoc getLoc () const { return Loc; }
@@ -328,13 +322,7 @@ struct LayoutConstraintLoc {
328
322
bool hasLocation () const { return Loc.isValid (); }
329
323
LayoutConstraint getLayoutConstraint () const { return Layout; }
330
324
331
- void setLayoutConstraint (LayoutConstraint value) {
332
- Layout = value;
333
- }
334
-
335
325
bool isNull () const { return Layout.isNull (); }
336
-
337
- LayoutConstraintLoc clone (ASTContext &ctx) const { return *this ; }
338
326
};
339
327
340
328
// / Checks if ID is a name of a layout constraint and returns this
You can’t perform that action at this time.
0 commit comments