]> granicus.if.org Git - clang/commit
Address review comments on r290392:
authorChandler Carruth <chandlerc@gmail.com>
Thu, 12 Jan 2017 22:40:13 +0000 (22:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 12 Jan 2017 22:40:13 +0000 (22:40 +0000)
commit6a238af47397e995af7c9a59f5c9d31c73593665
tree2d7ffce7ee4def869c8392f9fe8ad69b37c29cfb
parent46efaca3e9669b6acfad24aa8806b00bfb9823f5
Address review comments on r290392:
- Don't break using '-mllvm -disable-llvm-optzns' (yet).
- Don't add support for '-mllvm -disable-llvm-passes'.

This is important for LLVM 4 as we haven't yet really told folks this is
coming. I'll add release notes about this.

I've also added some explicit testing of this so its more obvious what
is happening here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/cl-options.c
test/Driver/disable-llvm.c [new file with mode: 0644]