File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ class CrashRecoveryContext {
111
111
// / a crash recovery context.
112
112
class CrashRecoveryContextCleanup {
113
113
protected:
114
- CrashRecoveryContext *context;
114
+ CrashRecoveryContext *context = nullptr ;
115
115
CrashRecoveryContextCleanup (CrashRecoveryContext *context)
116
- : context(context), cleanupFired( false ) {}
116
+ : context(context) {}
117
117
118
118
public:
119
- bool cleanupFired;
119
+ bool cleanupFired = false ;
120
120
121
121
virtual ~CrashRecoveryContextCleanup ();
122
122
virtual void recoverResources () = 0;
@@ -127,7 +127,7 @@ class CrashRecoveryContextCleanup {
127
127
128
128
private:
129
129
friend class CrashRecoveryContext ;
130
- CrashRecoveryContextCleanup *prev, *next;
130
+ CrashRecoveryContextCleanup *prev = nullptr , *next = nullptr ;
131
131
};
132
132
133
133
// / Base class of cleanup handler that controls recovery of resources of the
You can’t perform that action at this time.
0 commit comments