@@ -490,14 +490,15 @@ NoLaxVectorConversions("fno-lax-vector-conversions",
490
490
llvm::cl::desc (" Disallow implicit conversions between "
491
491
" vectors with a different number of "
492
492
" elements or different element types" ));
493
- static llvm::cl::opt<bool >
494
- EnableBlocks (" fblocks" , llvm::cl::desc(" enable the 'blocks' language feature" ), llvm::cl::ValueDisallowed);
495
493
496
- static llvm::cl::inverse_opt
497
- DisableBlocks (" fno-blocks" , llvm::cl::opposite_of(EnableBlocks), llvm::cl::ValueDisallowed);
494
+ static llvm::cl::opt<bool >
495
+ EnableBlocks (" fblocks" , llvm::cl::desc(" enable the 'blocks' language feature" ),
496
+ llvm::cl::ValueDisallowed, llvm::cl::AllowInverse,
497
+ llvm::cl::ZeroOrMore);
498
498
499
499
static llvm::cl::opt<bool >
500
- ObjCNonFragileABI (" fobjc-nonfragile-abi" , llvm::cl::desc(" enable objective-c's nonfragile abi" ));
500
+ ObjCNonFragileABI (" fobjc-nonfragile-abi" ,
501
+ llvm::cl::desc (" enable objective-c's nonfragile abi" ));
501
502
502
503
503
504
// FIXME: This (and all GCC -f options) really come in -f... and
@@ -623,7 +624,7 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
623
624
if (NoLaxVectorConversions.getPosition ())
624
625
Options.LaxVectorConversions = 0 ;
625
626
Options.Exceptions = Exceptions;
626
- if (EnableBlocks.getPosition () || DisableBlocks. getPosition () )
627
+ if (EnableBlocks.getPosition ())
627
628
Options.Blocks = EnableBlocks;
628
629
629
630
// Override the default runtime if the user requested it.
0 commit comments