mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Apply modernize-use-default-member-init and readability-redundant-member-init clang-tidy checks
This commit is contained in:
		| @@ -29,6 +29,7 @@ Checks: '-*, | ||||
|         misc-uniqueptr-reset-release, | ||||
|         misc-unused-using-decls, | ||||
|         modernize-avoid-bind, | ||||
|         modernize-use-default-member-init, | ||||
|         modernize-deprecated-headers, | ||||
|         modernize-loop-convert, | ||||
|         modernize-pass-by-value, | ||||
| @@ -62,6 +63,7 @@ Checks: '-*, | ||||
|         readability-named-parameter, | ||||
|         readability-non-const-parameter, | ||||
|         readability-redundant-control-flow, | ||||
|         readability-redundant-member-init, | ||||
|         readability-string-compare, | ||||
|         readability-uppercase-literal-suffix' | ||||
| WarningsAsErrors: '' | ||||
| @@ -117,6 +119,10 @@ CheckOptions: | ||||
|     value:           '5' | ||||
|   - key:             modernize-use-auto.RemoveStars | ||||
|     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 | ||||
|     value:           '::std::vector;::std::list;::std::deque' | ||||
|   - key:             modernize-use-emplace.SmartPointers | ||||
|   | ||||
| @@ -38,7 +38,7 @@ | ||||
| #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 | ||||
|     d_nchannels = nchannels; | ||||
|   | ||||
| @@ -36,7 +36,7 @@ | ||||
| #include <stdexcept> | ||||
|  | ||||
|  | ||||
| Ls_Pvt::Ls_Pvt() : Pvt_Solution() | ||||
| Ls_Pvt::Ls_Pvt() | ||||
| { | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez