Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

how to include extra clang check #66

Open
dewrax opened this issue Jul 1, 2021 · 3 comments
Open

how to include extra clang check #66

dewrax opened this issue Jul 1, 2021 · 3 comments

Comments

@dewrax
Copy link

dewrax commented Jul 1, 2021

I want to include modernize-use-override.AllowOverrideAndFinal = 1 is there a way to add this in checks

@notskm
Copy link
Owner

notskm commented Jul 2, 2021

I'm not sure how you would do this on the clang-tidy command line, so I'm not sure if my extension supports this. I'll have to look into it when I have time to work on this extension again.

If you're not using a .clang-tidy file, you should be. The extension settings are best used as an override.

@dewrax
Copy link
Author

dewrax commented Jul 6, 2021

I'm using .clang-tidy file available at the root project directory. Do I have to config anything for the extension to use it or extension automatically detects it and uses it.

@notskm
Copy link
Owner

notskm commented Jul 8, 2021

If it's in the root of your project, the extension should automatically find it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants