In r248292, the added unit test fails without the changes.

> On Sep 18, 2015, at 5:49 PM, Manuel Klimek via cfe-commits 
> <cfe-commits@lists.llvm.org> wrote:
> 
> LG in general; I think if we like the order to be deterministic we should try 
> to come up with a unit test so nobody regresses this in the future.
> 
> On Fri, Sep 18, 2015 at 4:44 PM Argyrios Kyrtzidis <kyrtzi...@apple.com 
> <mailto:kyrtzi...@apple.com>> wrote:
> Hi,
> 
> I have found it useful for the getAllCompileCommands() to return the commands 
> in the order that they were provided in the JSON file.
> This is useful for debugging of issues and reduction of test cases.
> For example, an issue may show up due to the order that some commands were 
> processed. It is convenient to be able to remove commands from the file and 
> still preserve the order that they are returned, instead of getting a 
> completely different order when removing a few commands.
> 
> Let me know what you think!
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

Reply via email to