[clang] [clang-format] Correctly annotate C# UTF 8 string literals (PR #211919)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 00:00:30 PDT 2026
================
@@ -4569,6 +4569,19 @@ TEST_F(TokenAnnotatorTest, AttributeSquares) {
EXPECT_TRUE(Tokens[15]->EndsCppAttributeGroup);
}
+TEST_F(TokenAnnotatorTest, CSharpUtf8StringLiterals) {
+ const auto Style = getGoogleStyle(FormatStyle::LK_CSharp);
----------------
owenca wrote:
```suggestion
const auto Style = getLLVMStyle(FormatStyle::LK_CSharp);
```
https://github.com/llvm/llvm-project/pull/211919
More information about the cfe-commits
mailing list