C++ Core Checker for Visual Studio is now available as a NuGet package.
The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++. Microsoft’s Guidelines Support Library (GSL) contains supporting functions and types.
Update (December 4): The Visual C++ Team published official description for C++ Core Guidelines Checkers usage.
But how do I actually use it? I tried running the normal (recommended rule set) static code analysis, but it seems to crash cl.exe
I run it right clicking on a project in Solution Explorer – Project Only – Run Code Analysis, as demonstrated in the Herb Sutter’s talk.