ps-19 added a comment. okay now i understand the issue completely. If i just mentioned that i am formatting a test file it would be correct then according to my patch. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122871/new/ https://reviews.llvm.org/D122871