premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.13k stars 611 forks source link

Add clang-tidy as a Visual Studio code analyser option #2186

Closed theComputeKid closed 4 months ago

theComputeKid commented 4 months ago

What does this PR do?

This PR enables the selection of clang-tidy as a code analyser when the code analyser action of Visual Studio is run in the IDE. Further details can be found in the official documentation.

How does this PR change Premake's behavior?

Add configuration-scoped option clangtidy for Visual Studio 2019 and above.

I have tried to follow pre-existing conventions:

Did you check all the boxes?

theComputeKid commented 4 months ago

Superceeded by #2187.