File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
clang/lib/StaticAnalyzer/Checkers/WebKit Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ class RawPtrRefMemberChecker
38
38
RawPtrRefMemberChecker (const char *description)
39
39
: Bug(this , description, " WebKit coding guidelines" ) {}
40
40
41
- virtual std::optional<bool > isUnsafePtr (QualType, bool ignoreARC = false ) const = 0;
41
+ virtual std::optional<bool > isUnsafePtr (QualType,
42
+ bool ignoreARC = false ) const = 0;
42
43
virtual const char *typeName () const = 0;
43
44
virtual const char *invariant () const = 0;
44
45
@@ -180,7 +181,8 @@ class RawPtrRefMemberChecker
180
181
return ;
181
182
}
182
183
183
- bool ignoreARC = !PD->isReadOnly () && PD->getSetterKind () == ObjCPropertyDecl::Assign;
184
+ bool ignoreARC =
185
+ !PD->isReadOnly () && PD->getSetterKind () == ObjCPropertyDecl::Assign;
184
186
auto IsUnsafePtr = isUnsafePtr (QT, ignoreARC);
185
187
if (!IsUnsafePtr || !*IsUnsafePtr)
186
188
return ;
You can’t perform that action at this time.
0 commit comments