summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-options.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-10-08 16:56:54 +0000
committerHans Wennborg <hans@hanshq.net>2013-10-08 16:56:54 +0000
commit22d6ac7e9a8180157044a33732c23125aa99fcb5 (patch)
tree893a0a6075687aeced37d20305c48de30df18c28 /clang/test/Driver/cl-options.c
parentaa57a64ef69c774a37420c79a8d3b50d559c3661 (diff)
downloadbcm5719-llvm-22d6ac7e9a8180157044a33732c23125aa99fcb5.tar.gz
bcm5719-llvm-22d6ac7e9a8180157044a33732c23125aa99fcb5.zip
clang-cl: ignore the /sdl[-] flag
In cl.exe, this flag turns some warnings into errors and adds some codegen security checks. I don't think we intend to support this. llvm-svn: 192201
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r--clang/test/Driver/cl-options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index e9e18582e3c..16efae4e928 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -101,6 +101,7 @@
// (/Zs is for syntax-only, /WX is for -Werror)
// RUN: %clang_cl /Zs /WX /analyze- /errorReport:foo /nologo /Ob1 /Ob2 -- %s
// RUN: %clang_cl /Zs /WX /Zc:forScope /Zc:wchar_t /w12345 /wd1234 /RTC1 /GS- -- %s
+// RUN: %clang_cl /Zs /WX /sdl /sdl- -- %s
// Ignored options and compile-only options are ignored for link jobs.
// RUN: touch %t.obj
OpenPOWER on IntegriCloud