[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
diff --git a/clang/lib/Analysis/FlowSensitive/Models/UncheckedStatusOrAccessModel.cpp b/clang/lib/Analysis/FlowSensitive/Models/UncheckedStatusOrAccessModel.cpp
index 3e1e00a..0bb8da5 100644
--- a/clang/lib/Analysis/FlowSensitive/Models/UncheckedStatusOrAccessModel.cpp
+++ b/clang/lib/Analysis/FlowSensitive/Models/UncheckedStatusOrAccessModel.cpp
@@ -825,11 +825,10 @@
                                      RecordStorageLocation *RecordLoc,
                                      const MatchFinder::MatchResult &Result,
                                      LatticeTransferState &State) {
-  if (RecordLoc == nullptr)
-    return;
-  State.Lattice.clearConstMethodReturnValues(*RecordLoc);
-  State.Lattice.clearConstMethodReturnStorageLocations(*RecordLoc);
-
+  if (RecordLoc) {
+    State.Lattice.clearConstMethodReturnValues(*RecordLoc);
+    State.Lattice.clearConstMethodReturnStorageLocations(*RecordLoc);
+  }
   if (isStatusOrType(Expr->getType()))
     transferStatusOrReturningCall(Expr, State);
 }