Caphyon / clang-power-tools

Bringing clang-tidy magic to Visual Studio C++ developers.
http://www.clangpowertools.com
Apache License 2.0
472 stars 57 forks source link

modernize-use-override IgnoreDestructors #1343

Closed marauder2k7 closed 3 months ago

marauder2k7 commented 3 months ago

Didnt know where else to ask this, in clang-tidy theres an option for mordernize-use-override which tells it to ignore destructors, how do i set this with clang power tools?

mariru27 commented 3 months ago

Hi @marauder2k7,

You can add options from Clang Power Tools settings. We have many tutorials here image

let me know if there is anything else I can help you with

Have a nice day, Marina

marauder2k7 commented 3 months ago

Hey Marina, thanks for getting back to me.

I can set it through the options to use modernize-use-override just fine and everything works as expected, its just theres no way to modify how modernize-use-override works, in clang-tidy there are different options for that. IgnoreDestructors being one of them.

Its okay though we exported as many of the settings that we needed as we could through the options gui and then added the missing ones in with vscode.

Thanks, Tommy.