{"push_id":548735309,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"ed82095e69a4e4a636c3c04660b63a68e356c03a","before":"b5785ee01d986a767194e3712ef181d7e095fdca","commits":[{"sha":"32113b5cc383f92af7a104d746fc2bb80ef8d218","author":{"email":"788c14eeffa2067e120409a238fa186a04f20a10@amd.com","name":"Matt Arsenault"},"message":"R600: Clean up floor tests\n\nThese were using different naming schemes,\nnot using multiple check prefixes and not using\n-LABEL.","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project/commits/32113b5cc383f92af7a104d746fc2bb80ef8d218"},{"sha":"ed82095e69a4e4a636c3c04660b63a68e356c03a","author":{"email":"856af8c1da1fc09fe3a5b132b1e3446ca8cb4381@google.com","name":"Kaelyn Takata"},"message":"Fix a case where delayed typo correction should have resolved an\nambiguity but wasn't.\n\nIn the new test case, \"click\" wasn't being corrected properly because\nSema::ClassifyName would call CorrectTypo for \"click\" then later\nSema::DiagnoseEmptyLookup would call CorrectTypoDelayed for the same use\nof \"click\" (the former by the parser needing to determine what the\nidentifier is so it knows how to parse the statement, i.e. is it the\nbeginning of a declaration or an expression). CorrectTypo would record\nthat typo correction for \"click\" failed and CorrectTypoDelayed would see\nthat and not even try to correct the typo, even though in this case\nCorrectTypo failed due to an ambiguity (both \"Click\" and \"clock\" having\nan edit distance of one from \"click\") that could be resolved with more\ninformation. The fix is two-fold:\n  1) Have CorrectTypo not record failed corrections if the reason for\n     the failure was two or more corrections with the same edit\n     distance, and\n  2) Make the CorrectionCandidateCallback used by\n     Parser::ParseCastExpression reject FunctionDecl candidates when the\n     next token after the identifier is a \".\", \"=\", or \"->\" since\n     functions cannot be assigned to and do not have members that can be\n     referenced.\n\nThe reason for two correction spots is that from r222549 until r224375\nlanded, the first correction attempt would fail completely but the\nsecond would suggest \"clock\" while having the note point to the\ndeclaration of \"Click\".","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project/commits/ed82095e69a4e4a636c3c04660b63a68e356c03a"}]}