Skip to content

Commit a46121e

Browse files
committed
format
1 parent 011f806 commit a46121e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ void handleConstMemberCall(const CallExpr *CE,
590590
State.Lattice.getOrCreateConstMethodReturnStorageLocation(
591591
*RecordLoc, DirectCallee, State.Env, [&](StorageLocation &Loc) {
592592
// no-op
593-
});
593+
});
594594

595595
State.Env.setStorageLocation(*CE, Loc);
596596
return;

clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4049,11 +4049,10 @@ TEST_P(
40494049
)cc");
40504050
}
40514051

4052-
40534052
TEST_P(
4054-
UncheckedOptionalAccessTest,
4055-
ConstRefAccessorToOptionalViaConstRefAccessorToHoldingObjectWithAnotherConstCallAfterCheck) {
4056-
ExpectDiagnosticsFor(R"cc(
4053+
UncheckedOptionalAccessTest,
4054+
ConstRefAccessorToOptionalViaConstRefAccessorToHoldingObjectWithAnotherConstCallAfterCheck) {
4055+
ExpectDiagnosticsFor(R"cc(
40574056
#include "unchecked_optional_access_test.h"
40584057
40594058
class A {

0 commit comments

Comments
 (0)