]> granicus.if.org Git - clang/commit
Driver: ArgList::getLastArg was in fact returning the first matching arg.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 17:31:30 +0000 (17:31 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 17:31:30 +0000 (17:31 +0000)
commitfe2e04a979205c1f395b699a24d74adb82bb4833
tree18db858fe61553a73ebe3da3b2dcb4489835b3e9
parente65a3c8f181adc42786e0a409cd1e827f4ab37ff
Driver: ArgList::getLastArg was in fact returning the first matching arg.
 - <rdar://problem/6715818> clang doesn't honor gcc semantic that last
    -O optimization option wins.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67628 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/ArgList.h
lib/Driver/ArgList.cpp
test/Driver/clang-translation.c