This class is currently used by two tools: HdrGen and PrototypeTestGen. We will be adding more tools based on this class so it is convenient to keep it in a util library of its own.
The LLVM libc header generation system
LLVM libc uses a header generation scheme to generate public as well as internal header files. This directory contains the implementation of the header generator which drives this header generation scheme.