[clang-tools-extra] [clang-doc] Fix `</section>` mismatch in the namespace template (PR #168966)

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 11:09:43 PST 2025


================
@@ -13,3 +14,17 @@ namespace MyNamespace {
 // CHECK-NEXT:        </a>
 // CHECK-NEXT:    </li>
 // CHECK-NEXT: </ul>
+
+// COM: Check that the empty global namespace doesn't contain tag mismatches.
+// CHECK-GLOBAL:             <main>
+// CHECK-GLOBAL-NEXT:            <div class="container">
+// CHECK-GLOBAL-NEXT:                <div class="sidebar">
+// CHECK-GLOBAL-NEXT:                    <h2> </h2>
+// CHECK-GLOBAL-NEXT:                    <ul>
+// CHECK-GLOBAL-NEXT:                    </ul>
+// CHECK-GLOBAL-NEXT:                </div>
+// CHECK-GLOBAL-NEXT:                <div class="resizer" id="resizer"></div>
+// CHECK-GLOBAL-NEXT:                <div class="content">
+// CHECK-GLOBAL:                     </div>
----------------
evelez7 wrote:

Thanks, that helps.

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


More information about the cfe-commits mailing list