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 | 341ce63dd4e2208d40f1cb0533c2475017ed85ad (patch) | |
tree | c00bbd2bf3971f78e73e31b4bca8799d51f22739 /llvm/lib | |
parent | 5df56c47fc5c5b7193d36d4987bc17a3e9a00e47 (diff) | |
download | bcm5719-llvm-341ce63dd4e2208d40f1cb0533c2475017ed85ad.tar.gz bcm5719-llvm-341ce63dd4e2208d40f1cb0533c2475017ed85ad.zip |
Convert Command Line option handling code to use the CommandLine 2.0 interface
llvm-svn: 2983
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp index 8cad60d1787..1180766f157 100644 --- a/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp +++ b/llvm/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()) { |