summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-02-05 01:50:36 +0000
committerTed Kremenek <kremenek@apple.com>2010-02-05 01:50:36 +0000
commitec5b3d45c143ce1ced976814a65802daa712ae5c (patch)
treeee9be6146ac393b920aa1d9efa58d976d55f3797 /clang/lib
parent80fadb5069e5af63adedf7d0a473555ce2240c8b (diff)
downloadbcm5719-llvm-ec5b3d45c143ce1ced976814a65802daa712ae5c.tar.gz
bcm5719-llvm-ec5b3d45c143ce1ced976814a65802daa712ae5c.zip
Rename -cc1 option '-warn-security-syntactic' to '-analyzer-check-security-syntactic'.
llvm-svn: 95342
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Driver/Tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index df8c11837e0..e21e9dcdaec 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -702,7 +702,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// Add default argument set.
if (!Args.hasArg(options::OPT__analyzer_no_default_checks)) {
CmdArgs.push_back("-warn-dead-stores");
- CmdArgs.push_back("-warn-security-syntactic");
+ CmdArgs.push_back("-analyzer-check-security-syntactic");
CmdArgs.push_back("-checker-cfref");
CmdArgs.push_back("-analyzer-eagerly-assume");
CmdArgs.push_back("-warn-objc-methodsigs");
OpenPOWER on IntegriCloud