Replace declared type of pointer variable with 'auto'

By default, Code Inspection can replace the declared type of a variable with 'auto'. When it does, a pointer variable will be declared 'auto *'.

You can make Code Inspection omit the asterisk via a setting in the options dialog for Visual Assist.

Visual Assist builds 2210-2231

You can make Code Inspection omit the asterisk, i.e. declare a pointer variable as simply 'auto', by modifying the registry. Add ";modernize-use-auto.RemoveStars=1" to the following value, which is a semicolon-delimited list of feature options:

HKCU\Software\Whole Tomato\Visual Assist X\<IDE spec>\CodeInspections\CheckerOptions