[clang] [clang-format] Preserve trailing NOLINTEND placement with SeparateDefinitionBlocks (PR #190741)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 18 02:41:28 PDT 2026
================
@@ -290,7 +290,20 @@ TEST_F(DefinitionBlockSeparatorTest, Always) {
"\n"
"struct E {};",
Style);
-
+ constexpr StringRef Code("// NOLINTBEGIN\n"
----------------
owenca wrote:
```suggestion
constexpr StringRef Code("// NOLINTBEGIN\n"
```
https://github.com/llvm/llvm-project/pull/190741
More information about the cfe-commits
mailing list