labath accepted this revision.
labath added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lldb/source/Commands/CommandObjectLog.cpp:167
       buffer_size.Clear();
+      handler = eLogHandlerStream;
       log_options = 0;
----------------
mib wrote:
> clayborg wrote:
> > Do we want to define a "eLogHandlerDefault" which points to 
> > "eLogHandlerStream"?
> I was hoping we could use a type alias for this, that marks 
> `eLogHandlerStream` as `eLogHandlerDefault` but I couldn't find of a nice C++ 
> way to do it :/ 
Were you maybe looking for something like:
```
enum {
 foo_1,
 foo_2,
 ...,
  foo_default = foo_47
};
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128323/new/

https://reviews.llvm.org/D128323

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to