Skip to content

Commit 03e6b35

Browse files
committed
format
1 parent 81f5cfd commit 03e6b35

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ bool handleConstMemberCall(const CallExpr *CE,
555555
dataflow::RecordStorageLocation *RecordLoc,
556556
const MatchFinder::MatchResult &Result,
557557
LatticeTransferState &State) {
558-
if (RecordLoc == nullptr) return false;
558+
if (RecordLoc == nullptr)
559+
return false;
559560

560561
// If the const method returns an optional or reference to an optional.
561562
if (isSupportedOptionalType(CE->getType())) {
@@ -582,8 +583,8 @@ bool handleConstMemberCall(const CallExpr *CE,
582583
return true;
583584
}
584585

585-
bool IsBooleanOrPointer = CE->getType()->isBooleanType() ||
586-
CE->getType()->isPointerType();
586+
bool IsBooleanOrPointer =
587+
CE->getType()->isBooleanType() || CE->getType()->isPointerType();
587588

588589
// Cache if the const method returns a reference
589590
if (CE->isGLValue()) {

0 commit comments

Comments
 (0)