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!

Attachment: compile-db-all.diff
Description: Binary data

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

Reply via email to