CppCon 2019 has ended
Back To Schedule
Tuesday, September 17 • 16:45 - 17:45
Clang-based Refactoring, or How to Refactor Millions of Line of Code Without Alienating your Colleagues

Log in to save this to your schedule, view media, leave feedback and see who's attending!

At first look, Clang-Tidy looks like a convenient static analysis tool. But it is actually the emerged part of an incredible iceberg that can change the way software developers work on big projects.
Using the extension API provided by clang tooling, you can design custom tools that will allow you to get rid of bad patterns or API mistakes in your code that were historically considered "too deep-rooted to fix". Through concrete examples we will see what these custom tools can do and how this could impact your everyday job as software maintainers.
But wielding such powerful tools can be hard! And working on big projects also means you are likely working in an ecosystem with a lot of other developers. What happens when each time these colleagues try to sync their repository they find out one of your refactorings completely changed the API they were calling in their local work? We will see the difficulties and pitfalls one can encounter when developing and using clang based refactoring tools and how to avoid or reduce them.

avatar for Fred Tingaud

Fred Tingaud

Principal software engineer, Murex

Tuesday September 17, 2019 16:45 - 17:45 MDT
Summit 4/5
  • Compilers/Tooling