C++ Code Analysis Improvements for Visual Studio 2017 15.7 Preview 1

点这里看中文版 We’re making it easier to configure and use the C++ code analysis features with a set of changes targeting 15.7. In the first 15.7 preview we’ve cleaned up the UI, fixed our documentation links and, most importantly, simplified the way analysis extensions are configured.  If you’re not familiar with C++ Core Check, it’s a… Read more

C++ Core Check code analysis is included with VS 2017

Visual Studio “15” Preview 5 now includes the C++ Core Guidelines Checkers. This means you no longer have to install the C++ Core Check package from NuGet to check your code against rules and profiles in the C++ Core Guidelines. Just configure Code Analysis to include the C++ Core Check extensions. You can configure Code… Read more

C++ Core Guidelines Checkers are now in a single NuGet package

Update: The C++ Core Guidelines Checkers are now included in-box with Visual Studio 2017. See this post for details: https://blogs.msdn.microsoft.com/vcblog/2016/10/12/cppcorecheck It has been an exciting year since the C++ Core Guidelines and checkers were announced starting with Bjarne Stroustrup’s opening keynote at CppCon 2015. We’ve shipped multiple releases of our CppCoreCheck analysis tools through NuGet. The Clang… Read more

C++ Core Guidelines Checkers: Preview of the Lifetime Safety checker

Edit 4 June 2016: We’ve now included the Lifetime checker–and any experimental checkers–in the regular CppCoreCheck package. See the blog post here for details: https://blogs.msdn.microsoft.com/vcblog/2016/06/03/c-core-guidelines-checkers-are-now-in-a-single-nuget-package/ In December we announced the first release of CppCoreCheck: code analysis tools to enforce some of the rules in the C++ Core Guidelines. But while there are three profiles currently… Read more

C++ Core Guidelines Checkers available for VS 2015 Update 1

[This post was written by Andrew Pardoe and Neil MacIntosh] Update: The CppCoreCheck tools are now part of VS 2017: https://blogs.msdn.microsoft.com/vcblog/2016/10/12/cppcorecheck. Back in September at CppCon 2015 Neil announced that we would be shipping new code analysis tools for C++ that would enforce some of the rules in the C++ Core Guidelines. (A video of the talk is available… Read more

C/C++ Code analysis in VS2015 – RC Update

Hey Folks, in my blog earlier this year (see http://blogs.msdn.com/b/vcblog/archive/2015/02/02/c-c-code-analysis-in-vs2015.aspx), I talked about what’s new in C/C++ code analysis for VS 2015 and why we did certain plumbing changes related to the front-end compiler. In that, I mentioned the limitation of CTP6 in which only analysis of C programs were working and C++ analysis was… Read more

C/C++ Code analysis in VS2015

By Joe Morris & Jim Springfield (MSFT) This blog provides answers to the following 2 questions. What’s new in C/C++ code analysis for VS2015? What’s supported and not supported in C/C++ code analysis for VS2015 CTP6 release? Before we get started, let’s be on the same page on some terminology. Code analysis: C/C++ code analysis… Read more