Skip to content

Commit 729ad65

Browse files
committed
AST: Remove VarDecl::isREPLVar()
1 parent 27712eb commit 729ad65

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

include/swift/AST/Decl.h

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class alignas(1 << DeclAlignInBits) Decl {
370370
IsStatic : 1
371371
);
372372

373-
SWIFT_INLINE_BITFIELD(VarDecl, AbstractStorageDecl, 4+1+1+1+1+1,
373+
SWIFT_INLINE_BITFIELD(VarDecl, AbstractStorageDecl, 4+1+1+1+1,
374374
/// The specifier associated with this variable or parameter. This
375375
/// determines the storage semantics of the value e.g. mutability.
376376
Specifier : 4,
@@ -387,9 +387,6 @@ class alignas(1 << DeclAlignInBits) Decl {
387387
/// It is up to the debugger to instruct SIL how to access this variable.
388388
IsDebuggerVar : 1,
389389

390-
/// Whether this is a property defined in the debugger's REPL.
391-
/// FIXME: Remove this once LLDB has proper support for resilience.
392-
IsREPLVar : 1,
393390

394391
/// Whether this is the backing storage for a property wrapper.
395392
IsPropertyWrapperBackingProperty : 1
@@ -4806,7 +4803,6 @@ class VarDecl : public AbstractStorageDecl {
48064803
Bits.VarDecl.Specifier = static_cast<unsigned>(Sp);
48074804
Bits.VarDecl.IsCaptureList = IsCaptureList;
48084805
Bits.VarDecl.IsDebuggerVar = false;
4809-
Bits.VarDecl.IsREPLVar = false;
48104806
Bits.VarDecl.HasNonPatternBindingInit = false;
48114807
Bits.VarDecl.IsPropertyWrapperBackingProperty = false;
48124808
}
@@ -5095,12 +5091,6 @@ class VarDecl : public AbstractStorageDecl {
50955091
void setDebuggerVar(bool IsDebuggerVar) {
50965092
Bits.VarDecl.IsDebuggerVar = IsDebuggerVar;
50975093
}
5098-
5099-
/// Is this a special debugger REPL variable?
5100-
/// FIXME: Remove this once LLDB has proper support for resilience.
5101-
bool isREPLVar() const { return Bits.VarDecl.IsREPLVar; }
5102-
void setREPLVar(bool IsREPLVar) {
5103-
Bits.VarDecl.IsREPLVar = IsREPLVar;
51045094
}
51055095

51065096
/// Retrieve the custom attribute that attaches a property wrapper to this

0 commit comments

Comments
 (0)