diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-22 02:08:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-22 02:08:59 +0000 |
commit | 21735d739b3501975685d9668b90465c7ebbd8d7 (patch) | |
tree | 907ac47a0590581c8511ecadffa0d93bf59e1f0b | |
parent | 331de23705a719514e37c211f327379688f81b0d (diff) |
Convert Command Line option handling code to use the CommandLine 2.0 interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2983 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/IPA/FindUnsafePointerTypes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp index 8cad60d178..1180766f15 100644 --- a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp +++ b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp @@ -28,9 +28,9 @@ AnalysisID FindUnsafePointerTypes::ID(AnalysisID::create<FindUnsafePointerTypes> // Provide a command line option to turn on printing of which instructions cause // a type to become invalid // -static cl::Flag -PrintFailures("printunsafeptrinst", "Print Unsafe Pointer Access Instructions", - cl::Hidden, false); +static cl::opt<bool> +PrintFailures("printunsafeptrinst", cl::Hidden, + cl::desc("Print Unsafe Pointer Access Instructions")); static inline bool isSafeInstruction(const Instruction *I) { switch (I->getOpcode()) { |