CppCon 2018 has ended
Back To Schedule
Thursday, September 27 • 14:00 - 15:00
Implementing the C++ Core Guidelines’ Lifetime Safety Profile in Clang

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

This is an experience report with talks, demos, and Q&A by the authors of the Clang-based implementation of Herb Sutter’s Lifetime safety profile for the C++ Core Guidelines, available online at cppx.godbolt.org.

We will cover the kinds of diagnoses supported by the checker and how they are implemented using Clang’s type trees and control flow graphs, including use-after-invalidation (dangling) and null-dereference compile-time diagnostics for pointers, iterators, views, and more. We will also summarize early experience with performance against real-world code bases, including compile time performance and initial analysis results from compiling LLVM sources with the checker.

Also, if you try the online compiler and have questions about why any examples are flagged or not flagged, you can bring them and ask the implementers!

avatar for Matthias Gehre

Matthias Gehre

Senior Software Architect, Silexica GmbH
Matthias co-maintains the Clang-based implementation of Herb Sutter’s lifetime checks, available online at https://github.com/mgehre/llvm-project and godbolt.org. He is currently working as a Senior Software Architect at Silexica. With its headquarters in Germany and offices in... Read More →
avatar for Gábor Horváth

Gábor Horváth

Software Engineer, Microsoft
Gabor started a Ph.D. in 2016. He is a contributor to research projects related to static analysis since 2012. He is a clang contributor, participated in Google Summer of Code twice as a student and many times as a mentor, interned for Apple, Microsoft and Google. He taught C++ and... Read More →

Thursday September 27, 2018 14:00 - 15:00 PDT
Winter Park (406)