From: Ted Kremenek Date: Tue, 25 Sep 2007 18:05:45 +0000 (+0000) Subject: Changed command line options "-check-dead-stores" and X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=786d337d4d9d01169cd970948949f549a5095782;p=clang Changed command line options "-check-dead-stores" and "-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 --- diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 48e1c42dac..77a568adac 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -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"),