(Softwaretechnik-Trends Band 42, Heft 2, 2022) Quante, Jochen
clang is in widespread use for development of C/C++ source code analysis tools. Many professional tools like Astrée use clang as a C++ frontend, specially because the continuously evolving C++ standard causes a lot of effort on the tool side, and clang provides an adequate infrastructure. At the same time, many hardware-specific compilers use gcc as a basis. Although gcc and clang are compatible to a certain degree, analyzing gcc-based code with clang always runs into problems. In this paper, we propose a lightweight approach to address recurring problems in clang-based
software analysis tool usage.