4 ms·
> I was working on a big project with old code that needed a radical overhaul to make it ready for new boost and new C++ versions. You might find Kristen Shake
by inetknght 2y ago
> I was working on a big project with old code that needed a radical overhaul to make it ready for new boost and new C++ versions.
You might find Kristen Shaker's CppCon 2023 talk to be intriguing.
https://www.youtube.com/watch?v=torqlZnu9Ag https://www.youtube.com/watch?v=torqlZnu9Ag
> I know there are several tools for clang that do rewrites and the unfortunate problem was that clang at the time wasn't able to build that code for some reasons that I cannot remember now.
Oh. Well that's unfortunate. You're probably going to have a bad time if no version of clang is able to compile (eg, libclang probably won't help). But GCC has something similar:
https://stackoverflow.com/questions/15800230/how-can-i-dump-an-abstract-syntax-tree-generated-by-gcc-into-a-dot-file https://stackoverflow.com/questions/15800230/how-can-i-dump-...
Alas, I'm not familiar with either tool. I would find it interesting to read a long-form blog post from you with more information and what you end up doing!