[PATCH] D118969: [clang-format][NFC] Fix a bug in setting type FunctionLBrace

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 3 23:11:17 PST 2022


curdeius added a comment.

Well, I thought about this approach but actually a macro line should never be merged together with a preceding line, so I went for a generic approach.
That's because one never knows what's in a macro, it can well be a function brace after all depending on what goes before...
Apart from that, could you add an annotator test please?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118969/new/

https://reviews.llvm.org/D118969



More information about the cfe-commits mailing list