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.
1 parent e7ee15e commit 5ab7c28Copy full SHA for 5ab7c28
clang/lib/CodeGen/CodeGenFunction.h
@@ -1255,11 +1255,11 @@ class CodeGenFunction : public CodeGenTypeCache {
1255
/// destroyed by aggressive peephole optimizations that assume that
1256
/// all uses of a value have been realized in the IR.
1257
class PeepholeProtection {
1258
- llvm::Instruction *Inst;
+ llvm::Instruction *Inst = nullptr;
1259
friend class CodeGenFunction;
1260
1261
public:
1262
- PeepholeProtection() : Inst(nullptr) {}
+ PeepholeProtection() = default;
1263
};
1264
1265
/// A non-RAII class containing all the information about a bound
0 commit comments