From b12c87e5b3e290541f9305250efa7eb3adc19425 Mon Sep 17 00:00:00 2001 From: Michael Jabbour Date: Mon, 23 Jun 2025 17:06:35 +0200 Subject: [PATCH] CPP-5486 S817 Remove diff highlighting --- rules/S817/cfamily/rule.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/S817/cfamily/rule.adoc b/rules/S817/cfamily/rule.adoc index d89446d7586..ab3989dcd4b 100644 --- a/rules/S817/cfamily/rule.adoc +++ b/rules/S817/cfamily/rule.adoc @@ -7,7 +7,7 @@ Therefore, only string literals with the same prefix should be concatenated toge === Noncompliant code example -[source,cpp,diff-id=1,diff-type=noncompliant] +[source,cpp] ---- wchar_t n_array[] = "Hello" L"World"; // Noncompliant wchar_t w_array[] = L"Hello" "World"; // Noncompliant @@ -23,7 +23,7 @@ auto mixed3 = u8"Hello" u"World"; // Noncompliant === Compliant solution -[source,cpp,diff-id=1,diff-type=compliant] +[source,cpp] ---- char n_array[] = "Hello" "World"; // Compliant wchar_t w_array[] = L"Hello" L"World"; // Compliant