mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-01 19:59:15 +00:00
Apply modernize-use-default-member-init and readability-redundant-member-init clang-tidy checks
This commit is contained in:
parent
a66ef4fb34
commit
4560712791
@ -29,6 +29,7 @@ Checks: '-*,
|
|||||||
misc-uniqueptr-reset-release,
|
misc-uniqueptr-reset-release,
|
||||||
misc-unused-using-decls,
|
misc-unused-using-decls,
|
||||||
modernize-avoid-bind,
|
modernize-avoid-bind,
|
||||||
|
modernize-use-default-member-init,
|
||||||
modernize-deprecated-headers,
|
modernize-deprecated-headers,
|
||||||
modernize-loop-convert,
|
modernize-loop-convert,
|
||||||
modernize-pass-by-value,
|
modernize-pass-by-value,
|
||||||
@ -62,6 +63,7 @@ Checks: '-*,
|
|||||||
readability-named-parameter,
|
readability-named-parameter,
|
||||||
readability-non-const-parameter,
|
readability-non-const-parameter,
|
||||||
readability-redundant-control-flow,
|
readability-redundant-control-flow,
|
||||||
|
readability-redundant-member-init,
|
||||||
readability-string-compare,
|
readability-string-compare,
|
||||||
readability-uppercase-literal-suffix'
|
readability-uppercase-literal-suffix'
|
||||||
WarningsAsErrors: ''
|
WarningsAsErrors: ''
|
||||||
@ -117,6 +119,10 @@ CheckOptions:
|
|||||||
value: '5'
|
value: '5'
|
||||||
- key: modernize-use-auto.RemoveStars
|
- key: modernize-use-auto.RemoveStars
|
||||||
value: '0'
|
value: '0'
|
||||||
|
- key: modernize-use-default-member-init.IgnoreMacros
|
||||||
|
value: '1'
|
||||||
|
- key: modernize-use-default-member-init.UseAssignment
|
||||||
|
value: '0'
|
||||||
- key: modernize-use-emplace.ContainersWithPushBack
|
- key: modernize-use-emplace.ContainersWithPushBack
|
||||||
value: '::std::vector;::std::list;::std::deque'
|
value: '::std::vector;::std::list;::std::deque'
|
||||||
- key: modernize-use-emplace.SmartPointers
|
- key: modernize-use-emplace.SmartPointers
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
|
||||||
Hybrid_Ls_Pvt::Hybrid_Ls_Pvt(int nchannels, std::string dump_filename, bool flag_dump_to_file) : Ls_Pvt()
|
Hybrid_Ls_Pvt::Hybrid_Ls_Pvt(int nchannels, std::string dump_filename, bool flag_dump_to_file)
|
||||||
{
|
{
|
||||||
// init empty ephemeris for all the available GNSS channels
|
// init empty ephemeris for all the available GNSS channels
|
||||||
d_nchannels = nchannels;
|
d_nchannels = nchannels;
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|
||||||
Ls_Pvt::Ls_Pvt() : Pvt_Solution()
|
Ls_Pvt::Ls_Pvt()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user