Type hints for C/C++
To increase code readability, CLion provides type hints in the editor inlined with your code. For example, type hints are shown for deduced types:

Also, the hints are present for auto
variables and structured bindings:

Another example is lambda return types:

Watch this video to learn more about parameter hints and type hints:
Type hints are enabled by default. To hide them, use one of the following options:
Go to Settings | Editor | Inlay Hints | Types and clear the C/C++ checkbox to hide all the type hints or a particular checkbox to hide only some of them.
note
Disabling Variables doesn't affect Obvious Types and Lambdas, they should be disabled separately if required.
In the editor, right-click a hint and select the option from the context menu:
tip
Click a type inside a hint with Ctrl/Command pressed to navigate to the type declaration.
Thanks for your feedback!