apolyakov added a comment.

In https://reviews.llvm.org/D47991#1128831, @aprantl wrote:

> Have you looked into making the error the first vs the last argument? If the 
> majority of all SBAPI calls put the error last, we should do this here, too.


As you could see, SBError is on first place only in one function - `StepOver`. 
When I replaced it to last place, I got an error:

  
/home/alexander/workspace/gsoc/llvm/tools/lldb/scripts/./interface/SBThread.i:218:
 Error: Non-optional argument 'error' follows an optional argument.

so I returned it back.


https://reviews.llvm.org/D47991



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

Reply via email to