Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Customising Clang-Tidy to Modernize Legacy C++ Code - From Printf to Std::Print

Meeting Cpp via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to leverage clang-tidy for modernizing legacy C++ code in this 44-minute conference talk from Meeting C++ 2024. Discover practical techniques for automating the transformation of over 7,000 lines of legacy code, focusing on upgrading diagnostic logging from printf wrappers to modern alternatives like libfmt's fmt::printf, fmt::print, and C++23's std::print. Follow along as Mike Crowe shares his journey of creating custom clang-tidy checks based on Clang 17's modernize-use-std-print, addressing challenges faced during the modernization process, and providing insights for developers who may not be LLVM or Clang experts. Gain valuable knowledge about adapting and reusing clang-tidy checks for various code modernization tasks while avoiding common pitfalls in the implementation process.

Syllabus

Customising clang tidy to modernise your legacy C++ code - Mike Crowe - Meeting C++ 2024

Taught by

Meeting Cpp

Reviews

Start your review of Customising Clang-Tidy to Modernize Legacy C++ Code - From Printf to Std::Print

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.