From 21735d739b3501975685d9668b90465c7ebbd8d7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 22 Jul 2002 02:08:59 +0000 Subject: [PATCH] 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 --- lib/Analysis/IPA/FindUnsafePointerTypes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp index 8cad60d1787..1180766f157 100644 --- a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp +++ b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp @@ -28,9 +28,9 @@ AnalysisID FindUnsafePointerTypes::ID(AnalysisID::create // 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 +PrintFailures("printunsafeptrinst", cl::Hidden, + cl::desc("Print Unsafe Pointer Access Instructions")); static inline bool isSafeInstruction(const Instruction *I) { switch (I->getOpcode()) {