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 760e0c3 commit 848be08Copy full SHA for 848be08
clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
@@ -40,7 +40,7 @@ class DeleteWithNonVirtualDtorChecker
40
41
class DeleteBugVisitor : public BugReporterVisitor {
42
public:
43
- DeleteBugVisitor() : Satisfied(false) {}
+ DeleteBugVisitor() = default;
44
void Profile(llvm::FoldingSetNodeID &ID) const override {
45
static int X = 0;
46
ID.AddPointer(&X);
@@ -50,7 +50,7 @@ class DeleteWithNonVirtualDtorChecker
50
PathSensitiveBugReport &BR) override;
51
52
private:
53
- bool Satisfied;
+ bool Satisfied = false;
54
};
55
56
0 commit comments