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()) {