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 848be08 commit 6f31908Copy full SHA for 6f31908
clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
@@ -64,12 +64,12 @@ class IvarInvalidationCheckerImpl {
64
65
struct InvalidationInfo {
66
/// Has the ivar been invalidated?
67
- bool IsInvalidated;
+ bool IsInvalidated = false;
68
69
/// The methods which can be used to invalidate the ivar.
70
MethodSet InvalidationMethods;
71
72
- InvalidationInfo() : IsInvalidated(false) {}
+ InvalidationInfo() = default;
73
void addInvalidationMethod(const ObjCMethodDecl *MD) {
74
InvalidationMethods.insert(MD);
75
}
0 commit comments