Skip to content
Snippets Groups Projects
Commit b068c617 authored by Daniel Agar's avatar Daniel Agar
Browse files

clang-tidy clang-analyzer-core.NonNullParamChecker

parent 345123bb
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,
## TODO: fix code and enable # clang-analyzer-core.CallAndMessage,
clang-analyzer-core.DivideZero,
clang-analyzer-core.DynamicTypePropagation,
## TODO: fix code and enable # clang-analyzer-core.NonNullParamChecker,
clang-analyzer-core.NonNullParamChecker,
## TODO: fix code and enable # clang-analyzer-core.NullDereference,
clang-analyzer-core.StackAddressEscape,
#clang-analyzer-core.UndefinedBinaryOperatorResult,
......@@ -41,7 +41,7 @@ Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,
clang-analyzer-nullability.NullablePassedToNonnull,
clang-analyzer-nullability.NullableReturnedFromNonnull,
clang-analyzer-nullability.NullPassedToNonnull,
## TODO: fix code and enable # clang-analyzer-nullability.NullReturnedFromNonnull,
clang-analyzer-nullability.NullReturnedFromNonnull,
## evaluate # clang-analyzer-optin.cplusplus.VirtualCall,
## TODO: fix code and enable # clang-analyzer-optin.performance.Padding,
## TODO: fix code and enable # clang-analyzer-security.FloatLoopCounter,
......@@ -64,14 +64,14 @@ Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,
cppcoreguidelines-c-copy-assignment-signature,
#cppcoreguidelines-interfaces-global-init,
#cppcoreguidelines-no-malloc,
## TODO: fix code and enable # cppcoreguidelines-pro-bounds-array-to-pointer-decay,
#cppcoreguidelines-pro-bounds-array-to-pointer-decay,
#cppcoreguidelines-pro-bounds-constant-array-index,
#cppcoreguidelines-pro-bounds-pointer-arithmetic,
## TODO: fix code and enable # cppcoreguidelines-pro-type-const-cast,
#cppcoreguidelines-pro-type-cstyle-cast,
## TODO: fix code and enable # cppcoreguidelines-pro-type-member-init,
#cppcoreguidelines-pro-type-reinterpret-cast,
## TODO: fix code and enable # cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-pro-type-static-cast-downcast,
#cppcoreguidelines-pro-type-union-access,
#cppcoreguidelines-pro-type-vararg,
cppcoreguidelines-slicing,
......
......@@ -579,9 +579,9 @@ LogListHelper::_scan_logs(FILE *f, const char *dir, time_t &date)
}
}
}
}
closedir(dp);
closedir(dp);
}
}
//-------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment