]> granicus.if.org Git - clang/commit
Options: Use AliasArgs for -O -> -O2 translation.
authorHans Wennborg <hans@hanshq.net>
Thu, 1 Aug 2013 16:21:57 +0000 (16:21 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 1 Aug 2013 16:21:57 +0000 (16:21 +0000)
commitf10fa8d04773410860cd347aebf77c27434aaf26
tree62ce43b2e90e14e2d3663a7bf99c77ffd79a6957
parentaa9e7b18a88d715b63e7b65d1b26a1759decc177
Options: Use AliasArgs for -O -> -O2 translation.

This way we can do the translation in the .td file rather than manually.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187583 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/O.c [new file with mode: 0644]