Skip to content

Commit 07f4f7d

Browse files
committed
Fix formatting
1 parent 0d7c086 commit 07f4f7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefMemberChecker.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class RawPtrRefMemberChecker
3838
RawPtrRefMemberChecker(const char *description)
3939
: Bug(this, description, "WebKit coding guidelines") {}
4040

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;
4243
virtual const char *typeName() const = 0;
4344
virtual const char *invariant() const = 0;
4445

@@ -180,7 +181,8 @@ class RawPtrRefMemberChecker
180181
return;
181182
}
182183

183-
bool ignoreARC = !PD->isReadOnly() && PD->getSetterKind() == ObjCPropertyDecl::Assign;
184+
bool ignoreARC =
185+
!PD->isReadOnly() && PD->getSetterKind() == ObjCPropertyDecl::Assign;
184186
auto IsUnsafePtr = isUnsafePtr(QT, ignoreARC);
185187
if (!IsUnsafePtr || !*IsUnsafePtr)
186188
return;

0 commit comments

Comments
 (0)