During the mapping of functions for cross-translation unit analysis, the functions' names and the containing files are collected by clang-func-mapping. Warnings are stored in the collection too, which later makes the parsing of the collection fail. Proposed solution is to suppress all warnings during the function mapping.
We are about to create a buildbot to test the CTU changes in Clang by analyzing some open-source projects. At the moment we are blocked by this issue in scan-build-py, because the warnings are causing analyze-build to fail even on Xerces-C++ .