Re: [lldb-dev] LLDB Evolution

2016-08-27 Thread Chris Lattner via lldb-dev
> On Aug 26, 2016, at 6:12 PM, Zachary Turner via lldb-dev > wrote: > > Back to the formatting issue, there's a lot of code that's going to look bad > after the reformat, because we have some DEEPLY indented code. LLVM has > adopted the early return model for this reason. A huge amount of o

Re: [lldb-dev] LLDB Evolution

2016-08-27 Thread Zachary Turner via lldb-dev
It will probably be hard to find all the cases. Unfortunately clang-tidy doesn't have a "detect deep indentation" check, but that would be pretty useful, so maybe I'll try to add that at some point (although I doubt I can get to it before the big reformat). Finding all of the egregious cases befo

[lldb-dev] debugserver and llvm

2016-08-27 Thread Zachary Turner via lldb-dev
What is the status of using LLVM from debugserver? AFAICT, it doesn't use llvm, but it DOES use some lldb private libraries, in which case it is already implicitly linking against LLVM anyway. So why can't LLVM headers be included and used from debugserver? Just now I was changing the signature