[cfe-commits] r110695 - /cfe/trunk/lib/Driver/Tools.cpp

Ted Kremenek kremenek at apple.com
Tue Aug 10 11:03:13 PDT 2010


Author: kremenek
Date: Tue Aug 10 13:03:13 2010
New Revision: 110695

URL: http://llvm.org/viewvc/llvm-project?rev=110695&view=rev
Log:
Turn on idempotent operations checker when using --analyze.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=110695&r1=110694&r2=110695&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Aug 10 13:03:13 2010
@@ -859,6 +859,7 @@
       // 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





More information about the cfe-commits mailing list