STYLE: Use auto for variable type matches the type of the initializer
This check is responsible for using the auto type specifier for variable declarations to improve code readability and maintainability. The auto type specifier will only be introduced in situations where the variable type matches the type of the initializer expression. In other words auto should deduce the same type that was originally spelled in the source
Showing
- CommandLineArguments.cxx 2 additions, 4 deletionsCommandLineArguments.cxx
- SystemInformation.cxx 1 addition, 1 deletionSystemInformation.cxx
- SystemTools.cxx 4 additions, 5 deletionsSystemTools.cxx
- testEncoding.cxx 1 addition, 2 deletionstestEncoding.cxx
- testSystemTools.cxx 1 addition, 2 deletionstestSystemTools.cxx
Loading
Please register or sign in to comment