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