diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-08-10 18:03:13 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-08-10 18:03:13 +0000 |
commit | 79a79f5d323155ac99155c621a360ef8a68055a8 (patch) | |
tree | 1f00af4b7e1eb547b93ef20a1c8a340b6c8b0ae8 /lib/Driver/Tools.cpp | |
parent | 25c2c8fb9309050612009a6571e2660e75531348 (diff) |
Turn on idempotent operations checker when using --analyze.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 7e44ac491f..8ca3c4391d 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -859,6 +859,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // Do not enable the missing -dealloc check. // '-analyzer-check-objc-missing-dealloc', CmdArgs.push_back("-analyzer-check-objc-unused-ivars"); + CmdArgs.push_back("-analyzer-check-idempotent-operations"); } // Set the output format. The default is plist, for (lame) historical |