[clang] [clang-format] Preserve trailing NOLINTEND placement with SeparateDefinitionBlocks (PR #190741)

Jiaqi He via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 22:41:23 PDT 2026


================

----------------
heturing wrote:

I refactored the code to reuse `NextLine` in `MayPrecedeDefinition`, but kept the definition inside the lambda since it depends on the lambda parameter `Direction`.

https://github.com/llvm/llvm-project/pull/190741


More information about the cfe-commits mailing list