[Lldb-commits] [PATCH] D51445: Remove undefined behavior around the	use of StateType
    Adrian Prantl via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Aug 29 13:01:58 PDT 2018
    
    
  
aprantl added inline comments.
================
Comment at: include/lldb/lldb-enumerations.h:60
                    ///< or threads get the chance to run.
+  kNumStateType
 };
----------------
I think we usually do something like eLastsState = eStateSuspended. This avoid having to add the case to all the switches.
https://reviews.llvm.org/D51445
    
    
More information about the lldb-commits
mailing list