diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-06-13 20:59:54 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-06-13 20:59:54 +0000 |
commit | e50cec3759b80d9f44edede5ebf75d25d4a93088 (patch) | |
tree | b5eb917d3b1126937d069bd21115bf573360d3ea /clang/test/Driver/cl-options.c | |
parent | ba2b33b4fe37f1ea73bc632ecb12b430fa9b2eb7 (diff) | |
download | bcm5719-llvm-e50cec3759b80d9f44edede5ebf75d25d4a93088.tar.gz bcm5719-llvm-e50cec3759b80d9f44edede5ebf75d25d4a93088.zip |
Add support for the /EP argument to clang-cl
This maps the /EP argument to both -E and -P.
Patch by Ehsan Akhgari!
Differential Reviion: http://reviews.llvm.org/D4133
llvm-svn: 210935
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r-- | clang/test/Driver/cl-options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index eaf7e172d69..38cbb347c6b 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -25,6 +25,11 @@ // E: "-E" // E: "-o" "-" +// RUN: %clang_cl /EP -### -- %s 2>&1 | FileCheck -check-prefix=EP %s +// EP: "-E" +// EP: "-P" +// EP: "-o" "-" + // RTTI is on by default; just check that we don't error. // RUN: %clang_cl /Zs /GR -- %s 2>&1 @@ -196,7 +201,6 @@ // RUN: /docname \ // RUN: /d2Zi+ \ // RUN: /EHsc \ -// RUN: /EP \ // RUN: /F \ // RUN: /FA \ // RUN: /FAc \ |