August 2014
Beginner to intermediate
314 pages
7h 57m
English
In this section, we present many other tools that perform code analysis and source-to-source transformations by leveraging Clang's parsing abilities. You should feel comfortable to use them in a way that is similar to that of clang-tidy, relying on your commands' database to simplify their usage.
The Clang Modernizer is a revolutionary standalone tool that aids the user in adapting old C++ code to use the newest standards, for example, C++11. It reaches this goal by performing the following transformations:
for(;;) loops to the newer range-based loop of the form for(auto &...:..)NULL or 0 constants to ...