[Lldb-commits] [lldb] r282445 - Fix an issue where LLDB would not accept the --description-verbosity option to 'po' without an argument after the StringRef refactoring
    Enrico Granata via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Mon Sep 26 14:36:17 PDT 2016
    
    
  
Author: enrico
Date: Mon Sep 26 16:36:17 2016
New Revision: 282445
URL: http://llvm.org/viewvc/llvm-project?rev=282445&view=rev
Log:
Fix an issue where LLDB would not accept the --description-verbosity option to 'po' without an argument after the StringRef refactoring
Fixes rdar://28480275
Modified:
    lldb/trunk/source/Commands/CommandObjectExpression.cpp
Modified: lldb/trunk/source/Commands/CommandObjectExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectExpression.cpp?rev=282445&r1=282444&r2=282445&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectExpression.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectExpression.cpp Mon Sep 26 16:36:17 2016
@@ -142,7 +142,7 @@ Error CommandObjectExpression::CommandOp
   }
 
   case 'v':
-    if (!option_arg.empty()) {
+    if (option_arg.empty()) {
       m_verbosity = eLanguageRuntimeDescriptionDisplayVerbosityFull;
       break;
     }
    
    
More information about the lldb-commits
mailing list