Skip to content

Commit 5578e31

Browse files
committed
Fix formatting
1 parent 10e69fd commit 5578e31

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

clang/unittests/Analysis/FlowSensitive/CachedConstAccessorsLatticeTest.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,24 +238,20 @@ TEST_F(CachedConstAccessorsLatticeTest, DifferentValsFromDifferentLocs) {
238238
AST.context());
239239
ASSERT_THAT(valPropertyCalls, SizeIs(2));
240240

241-
const CallExpr *CE1 = selectFirst<CallExpr>(
242-
"call", valPropertyCalls);
241+
const CallExpr *CE1 = selectFirst<CallExpr>("call", valPropertyCalls);
243242
ASSERT_NE(CE1, nullptr);
244243

245244
valPropertyCalls.erase(valPropertyCalls.begin());
246-
const CallExpr *CE2 = selectFirst<CallExpr>(
247-
"call", valPropertyCalls);
245+
const CallExpr *CE2 = selectFirst<CallExpr>("call", valPropertyCalls);
248246
ASSERT_NE(CE2, nullptr);
249247
ASSERT_NE(CE1, CE2);
250248

251249
RecordStorageLocation LocS1(SType, RecordStorageLocation::FieldToLoc(), {});
252250
RecordStorageLocation LocS2(SType, RecordStorageLocation::FieldToLoc(), {});
253251

254252
LatticeT Lattice;
255-
Value *Val1 =
256-
Lattice.getOrCreateConstMethodReturnValue(LocS1, CE1, Env);
257-
Value *Val2 =
258-
Lattice.getOrCreateConstMethodReturnValue(LocS2, CE2, Env);
253+
Value *Val1 = Lattice.getOrCreateConstMethodReturnValue(LocS1, CE1, Env);
254+
Value *Val2 = Lattice.getOrCreateConstMethodReturnValue(LocS2, CE2, Env);
259255

260256
EXPECT_NE(Val1, Val2);
261257
}

0 commit comments

Comments
 (0)