Right; but then there is CompilationDatabase::getAllCompileCommands() that returns std::vector<CompileCommand> -- I am not sure that this vector for LLVM/Clang database will fit into RAM of an average workstation... http://llvm-reviews.chandlerc.com/D2121