diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-19 04:55:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-19 04:55:23 +0000 |
commit | 53e8484581ca358c3a2ccd8ea39c136c6e85d606 (patch) | |
tree | 0725a1263b3d1b63e9e0f569d034f1f19bde4b99 /test/Driver/clang_f_opts.c | |
parent | 48c4c1f9d33fc47140311b8be170084c5ce8a6db (diff) |
Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... variants instead of using llvm::cl::init(true) arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/clang_f_opts.c')
-rw-r--r-- | test/Driver/clang_f_opts.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Driver/clang_f_opts.c b/test/Driver/clang_f_opts.c index b18f14758d..3756a2f4d1 100644 --- a/test/Driver/clang_f_opts.c +++ b/test/Driver/clang_f_opts.c @@ -1,10 +1,9 @@ // RUN: clang -### -S -x c /dev/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings %s 2> %t // RUN: grep -F '"-fblocks"' %t -// RUN: grep -F '"--fmath-errno=1"' %t // RUN: grep -F '"-fpascal-strings"' %t // RUN: clang -### -S -x c /dev/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-wchar %s 2> %t -// RUN: grep -F '"-fbuiltin=0"' %t +// RUN: grep -F '"-fno-builtin"' %t // RUN: grep -F '"-fno-common"' %t -// RUN: grep -F '"--fmath-errno=0"' %t +// RUN: grep -F '"-fno-math-errno"' %t // RUN: grep -F '"-fno-show-source-location"' %t // RUN: grep -F '"-fshort-wchar"' %t |