{"push_id":2764697511,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"fe1098c84823b8eac46b0bfffc5f5788b6c26d1a","before":"2f6d0b8d50fbb0638b173d6d9da0dae804c82fb2","commits":[{"sha":"fe1098c84823b8eac46b0bfffc5f5788b6c26d1a","author":{"name":"Ilya Biryukov","email":"eceaa92c40d19b4bf82eb67a163fa5c88b627d2b@google.com"},"message":"[Format] Fix for bug 35641\n\nSummary:\nBug was caused due to comments at the start of scope. For a code like:\n```\nint func() { //\n  int b;\n  int c;\n}\n```\nthe comment at the first line gets IndentAndNestingLevel (1,1) whereas\nthe following declarations get only (0,1) which prevents them from insertion\nof a new scope. So, I changed the AlignTokenSequence to look at previous\n*non-comment* token when deciding whether to introduce a new scope into\nstack or not.\n\nPatch by Kadir Cetinkaya!\n\nReviewers: rsmith, djasper\n\nReviewed By: djasper\n\nSubscribers: lebedev.ri, cfe-commits, klimek\n\nTags: #clang\n\nDifferential Revision: https://reviews.llvm.org/D43303\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338578 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/androm3da/clang-doc/commits/fe1098c84823b8eac46b0bfffc5f5788b6c26d1a"}]}
{"actor":{"display_login":"androm3da"}}