{"push_id":2750259374,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"526a8195bae44d9b83d417507b87809ab87683eb","before":"601ba0c0dc1cd33120db2b5333f2253ed2ce76aa","commits":[{"sha":"526a8195bae44d9b83d417507b87809ab87683eb","author":{"name":"Raphael Isemann","email":"515ac9ba848f5e0d2d82879a1e380b80f836830f@gmail.com"},"message":"Fix duplicate suggestions after an ambiguous command\n\nSummary:\nSo far lldb is printing this when it finds an ambiguous command:\n```\n(lldb) g\nAmbiguous command 'g'. Possible matches:\n        gdb-remote\n        gui\n        gdb-remote\n        gui\n```\nThe duplicates come from the fact that we call the same query twice with the same parameters\nand add it to the same list. This patch just removes the second query call to `GetCommandObject`.\n\nAs `GetCommandObject` is const and the name parameter is also not modified, this shouldn't break\nanything else. I didn't merge the remaining if statement into the else as I think otherwise the\n`if obj==nullptr do X else Y` pattern in there becomes hard to recognize.\n\nReviewers: davide\n\nReviewed By: davide\n\nSubscribers: lldb-commits\n\nDifferential Revision: https://reviews.llvm.org/D49866","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project-submodule/commits/526a8195bae44d9b83d417507b87809ab87683eb"}]}
{"actor":{"display_login":"chapuni"}}