]> granicus.if.org Git - clang/commitdiff
Changed command line options "-check-dead-stores" and
authorTed Kremenek <kremenek@apple.com>
Tue, 25 Sep 2007 18:05:45 +0000 (18:05 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 25 Sep 2007 18:05:45 +0000 (18:05 +0000)
"-check-uninit-values" to "-warn-dead-stores" and
"-warn-uninit-values"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42307 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/clang.cpp

index 48e1c42dac777f0a380e5eaf19cce7da28d1b446..77a568adac8aeab38d5419ea7db3e0e139e6e6c8 100644 (file)
@@ -100,9 +100,9 @@ ProgAction(llvm::cl::desc("Choose output type:"), llvm::cl::ZeroOrMore,
                         "Run parser, then build and view CFGs with Graphviz."),
              clEnumValN(AnalysisLiveVariables, "dump-live-variables",
                         "Print results of live variable analysis."),
-             clEnumValN(WarnDeadStores, "check-dead-stores",
+             clEnumValN(WarnDeadStores, "warn-dead-stores",
                         "Flag warnings of stores to dead variables."),
-             clEnumValN(WarnUninitVals, "check-uninit-values",
+             clEnumValN(WarnUninitVals, "warn-uninit-values",
                         "Flag warnings of uses of unitialized variables."),
              clEnumValN(EmitLLVM, "emit-llvm",
                         "Build ASTs then convert to LLVM, emit .ll file"),