commit | afc4baa37c2f38fadf05b15456b10a0994d51b0b | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Mon Mar 26 22:04:46 2012 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Mon Mar 26 22:04:46 2012 +0000 |
tree | 8ba564daa91c21a6b824bd300e4193ddff7100ce | |
parent | ec09b3e0c5d96a1b7a3e797cdff2875eca1e9907 [diff] |
[driver] Fix unused argument warnings. 1. Don't short-circuit conditional statements that are checking flags. Otherwise, the driver emits warnings about unused arguments. 2. -mkernel and -fapple-kext imply no exceptions, so claim exception related arguments now to avoid warnings about unused arguments. rdar://11120518 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153478 91177308-0d34-0410-b5e6-96231b3b80d8