mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-19 04:31:17 +00:00
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
This commit is contained in:
parent
331de23705
commit
21735d739b
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user