Make it possible to change the output file suffix based on command-line options.
authorMikhail Glushenkov <foldr@codedgers.com>
Fri, 30 May 2008 06:13:02 +0000 (06:13 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Fri, 30 May 2008 06:13:02 +0000 (06:13 +0000)
commit5c7578de087fb984473277316edd19908d0e8190
tree42868b9dd13532077ed3f6c254cb05b5cd9d6cda
parent08bd2e74dc542ab4e7484f1d61e22f6fd96c48ed
Make it possible to change the output file suffix based on command-line options.

For instance, the following command:

    llvmc2 -E hello.c

now generates a file with the correct suffix (hello.i).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51733 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvmc2/Tools.td
utils/TableGen/LLVMCConfigurationEmitter.cpp