Skip to content

Commit f28b90a

Browse files
Зишан Мирзаzimirza
authored andcommitted
format code with clang-format
1 parent f1540c5 commit f28b90a

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
@@ -3586,17 +3586,17 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
35863586
.ArgConstraint(BufferSize(
35873587
/*Buffer=*/ArgNo(1),
35883588
/*MinBufSize=*/BVF.getValue(26, IntTy))));
3589-
.ArgConstraint(NotNull(ArgNo(2)))
3590-
3591-
// struct tm *gmtime_r(const time_t *restrict timer,
3592-
// struct tm *restrict result);
3593-
addToFunctionSummaryMap(
3594-
"gmtime_r",
3595-
Signature(ArgTypes{ConstTime_tPtrRestrictTy, StructTmPtrRestrictTy},
3596-
RetType{StructTmPtrTy}),
3597-
Summary(NoEvalCall)
3598-
.ArgConstraint(NotNull(ArgNo(0)))
3599-
.ArgConstraint(NotNull(ArgNo(1))));
3589+
.ArgConstraint(NotNull(ArgNo(2)))
3590+
3591+
// struct tm *gmtime_r(const time_t *restrict timer,
3592+
// struct tm *restrict result);
3593+
addToFunctionSummaryMap(
3594+
"gmtime_r",
3595+
Signature(ArgTypes{ConstTime_tPtrRestrictTy, StructTmPtrRestrictTy},
3596+
RetType{StructTmPtrTy}),
3597+
Summary(NoEvalCall)
3598+
.ArgConstraint(NotNull(ArgNo(0)))
3599+
.ArgConstraint(NotNull(ArgNo(1))));
36003600

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

0 commit comments

Comments
 (0)