Add initial cut at CompilerInvocation::toArgs, which "serializes" the CompilerInvocation into a list of arguments which can be passed to clang-cc (eventually, clang -cc1).
 - Unfortunately, this is currently a tedious and manual translation. Eventually it would be nice to automatically generate this code.

llvm-svn: 89049
3 files changed
tree: d582d9fb11703f3e09053efbdf33b07eb4260c87
  1. clang/
  2. compiler-rt/
  3. llvm/