Customising Clang-Tidy to Modernize Legacy C++ Code - From Printf to Std::Print
Meeting Cpp via YouTube
The Most Addictive Python and SQL Courses
Launch a New Career with Certificates from Google, IBM & Microsoft
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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