Skip to content

Commit d82bf8c

Browse files
Зишан МирзаZishan Mirza
authored andcommitted
format code with clang-format
1 parent cdb7a00 commit d82bf8c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3585,17 +3585,17 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
35853585
.ArgConstraint(BufferSize(
35863586
/*Buffer=*/ArgNo(1),
35873587
/*MinBufSize=*/BVF.getValue(26, IntTy))));
3588-
.ArgConstraint(NotNull(ArgNo(2)))
3589-
3590-
// struct tm *gmtime_r(const time_t *restrict timer,
3591-
// struct tm *restrict result);
3592-
addToFunctionSummaryMap(
3593-
"gmtime_r",
3594-
Signature(ArgTypes{ConstTime_tPtrRestrictTy, StructTmPtrRestrictTy},
3595-
RetType{StructTmPtrTy}),
3596-
Summary(NoEvalCall)
3597-
.ArgConstraint(NotNull(ArgNo(0)))
3598-
.ArgConstraint(NotNull(ArgNo(1))));
3588+
.ArgConstraint(NotNull(ArgNo(2)))
3589+
3590+
// struct tm *gmtime_r(const time_t *restrict timer,
3591+
// struct tm *restrict result);
3592+
addToFunctionSummaryMap(
3593+
"gmtime_r",
3594+
Signature(ArgTypes{ConstTime_tPtrRestrictTy, StructTmPtrRestrictTy},
3595+
RetType{StructTmPtrTy}),
3596+
Summary(NoEvalCall)
3597+
.ArgConstraint(NotNull(ArgNo(0)))
3598+
.ArgConstraint(NotNull(ArgNo(1))));
35993599

36003600
// struct tm * gmtime(const time_t *tp);
36013601
addToFunctionSummaryMap(

0 commit comments

Comments
 (0)