premake / premake-core

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

Enable code analysis via clang-tidy in Visual Studio #2187

Closed theComputeKid closed 7 months ago

theComputeKid commented 7 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?