Skip to content
Snippets Groups Projects
Commit cc8fc323 authored by Hans Johnson's avatar Hans Johnson
Browse files

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
parent 91429382
Branches
No related tags found
1 merge request!169Modernize code for cmake and C++11
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment