diff options
| author | Hans Wennborg <hans@hanshq.net> | 2016-05-24 21:23:29 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2016-05-24 21:23:29 +0000 |
| commit | 3270bdbb038d51c98a059d0d517d0d4465ebb920 (patch) | |
| tree | fe31d405f7c17658c65af911c3741058abde47a5 /clang/test | |
| parent | c53e18d93a1eca52718102a899c01531fdeeb8b5 (diff) | |
| download | bcm5719-llvm-3270bdbb038d51c98a059d0d517d0d4465ebb920.tar.gz bcm5719-llvm-3270bdbb038d51c98a059d0d517d0d4465ebb920.zip | |
clang-cl: Bake /Ob0 and /Ob2 into the general /O option handling
This is a follow-up to r270609, wherein I forgot that /O options can
be combined, and e.g. /Odb2 is a valid combination.
llvm-svn: 270614
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/cl-options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index 6a721fc9f82..2e68b18217e 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -98,6 +98,7 @@ // Ob0: -fno-inline // RUN: %clang_cl /Ob2 -### -- %s 2>&1 | FileCheck -check-prefix=Ob2 %s +// RUN: %clang_cl /Odb2 -### -- %s 2>&1 | FileCheck -check-prefix=Ob2 %s // Ob2: -finline-functions // RUN: %clang_cl /Od -### -- %s 2>&1 | FileCheck -check-prefix=Od %s |

